/* productphotography.lt — hand-written, no framework. Look of the Squarespace draft:
   Marcellus headings, PT Serif text, white page, light grey bands, black pill buttons. */

@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/marcellus-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/marcellus-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/pt-serif-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/pt-serif-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/pt-serif-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/pt-serif-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* --edge: gutter that lines full-bleed rows up with .wrap on screens wider than 1440 */
:root {
  --ink: #1c1c1c;
  --paper: #ffffff;
  --band: #f8f8f8;
  --line: #e4e4e4;
  --muted: #5a5a5a;
  --gut: clamp(16px, 4vw, 58px);
  --edge: max(var(--gut), calc((100vw - 1440px) / 2 + var(--gut)));
  --head: "Marcellus", Georgia, serif;
  --text: "PT Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.06; }
h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.14; }
h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.17; color: #000; }
strong { font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fafafa; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.band { background: var(--band); }
.sec { padding: clamp(48px, 6vw, 87px) 0; }
.center { text-align: center; }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.lead { font-size: 17px; }
.muted { color: var(--muted); }

/* buttons: black pill */
.btn { display: inline-block; background: var(--ink); color: #fafafa; text-decoration: none; font: 400 16px/1.2 var(--text);
  padding: 19.2px 32px; border-radius: 300px; min-width: 168px; text-align: center; transition: opacity .2s; }
.btn:hover { opacity: .82; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* header */
.site-header { padding: 26px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.site-title { font: 400 24.4px/1.2 var(--head); letter-spacing: -0.02em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 30px; }
.site-nav a { text-decoration: none; padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.burger { display: none; }

/* hero */
.hero { background: var(--band); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero__text { max-width: 429px; }
.hero__kicker { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.hero__contact { margin: 1.2em 0 2em; }
.hero__img img { width: 100%; max-height: 82vh; object-fit: cover; }

/* home hero name: h3 size as in the draft */
.hero h1 { font-size: clamp(28px, 2.52vw, 36.2px); line-height: 1.14; }

/* home intro: draft column 980 px at 1440, 516 px at 768, text 14.3–14.9 px */
.intro__text { width: min(980px, 68vw); margin: 0 auto; }
.intro p:first-child { font-size: 14.6px; line-height: 1.6; } /* only the first paragraph is small in the draft */
.intro .btn { margin-top: 1em; min-width: clamp(168px, 22.2vw, 320px); padding-top: 24px; padding-bottom: 24px; } /* draft: wide button, 320 px at 1440 */

/* three service blocks */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 374px)); gap: 32px 66px; } /* draft: 374 px columns at x 58 / 498 / 938 on 1440 */
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.service h2 { font-size: clamp(22px, 1.9vw, 26px); }
.service h2 a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.service p { font-size: 15px; }

/* galleries: masonry (JS places items in row order; without JS: CSS columns) */
.gallery { columns: 3; column-gap: 10px; }
.gallery > figure { margin: 0 0 10px; break-inside: avoid; }
.gallery a { display: block; cursor: zoom-in; }
.gallery img { width: 100%; }
.gallery.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1px; column-gap: 10px; columns: auto; }
.gallery.is-grid > figure { margin: 0; grid-row-end: span var(--span, 300); }
.gallery--few { max-width: 980px; margin: 0 auto; columns: 2; }
.gallery--few.is-grid { grid-template-columns: repeat(2, 1fr); }

/* page heads */
.page-head { padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.page-head p { max-width: 760px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: start; }

/* portfolio tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(16px, 2vw, 24px); }
.tile { text-decoration: none; display: block; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; transition: opacity .2s; }
.tile:hover img { opacity: .88; }
.tile h2 { font-size: clamp(20px, 1.6vw, 22px); margin: 0; }
.tile:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tile span { font-size: 14px; color: var(--muted); }

/* prev / next */
.pager { display: flex; justify-content: space-between; gap: 24px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.pager a { font: 400 clamp(19px, 2vw, 26px)/1.2 var(--head); letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.pager a:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pager .next { margin-left: auto; text-align: right; }
.pager svg { flex: none; width: 12px; height: 22px; }

/* paslaugos: two-column head (title left, prices intro right), then text + full-bleed photo rows, alternating */
.pas-head__grid { display: grid; grid-template-columns: 1fr 41.5%; gap: 32px; align-items: start; }
.pas-head h1 { margin-top: 0.15em; }
.pas-head .h4 { font-size: 26.1px; line-height: 1.17; color: #000; }
/* draft: first paragraph of a block small, the rest 16 / 24 */
.pas-head p, .price-row p, .price-row li { font-size: 16px; line-height: 24px; }
.pas-head__side p:first-of-type, .price-row--flip .price-row__text > p:first-of-type { font-size: 14.3px; line-height: 1.6; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.price-row__text { padding: clamp(48px, 6vw, 87px) clamp(24px, 4vw, 58px) clamp(48px, 6vw, 87px) var(--edge); }
/* Įvaizdinės: narrow text column (374 px at 1440, 194 px at 768) next to a wider photo */
.price-row--flip { grid-template-columns: 1fr calc(374px + clamp(24px, 4vw, 58px) + var(--edge)); }
.price-row--flip h2 { font-size: 36.2px; }
.price-row--flip .price-row__text { order: 2; padding-left: clamp(24px, 4vw, 58px); padding-right: var(--edge); }
.price-row h2 { font-size: 46.2px; line-height: 1.1; margin-bottom: 0.6em; }
.price-row__img { min-height: 100%; }
.price-row__img img { width: 100%; height: 100%; object-fit: cover; }
.price-row__img--white { background: #fff; }
.price-row__img--white img { object-fit: contain; padding: clamp(24px, 4vw, 58px); }
.offer { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.offer h3 { font: 700 16px/1.4 var(--text); letter-spacing: 0; margin: 0 0 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 4px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.note { font-size: 15px; }

/* home contact block: text left (33 %), buttons right where the draft had its form */
.contact-split { display: grid; grid-template-columns: 33% 50%; justify-content: space-between; align-items: center; gap: 32px; }
.contact-cta--side { justify-content: flex-start; margin-top: 0; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5em; font-size: 18px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list b { font-weight: 400; color: var(--muted); min-width: 120px; font-size: 15px; padding-top: 2px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.4em; }
.contact-cta .btn { min-width: 0; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 18.2px 31px; }

/* footer */
.site-footer { background: var(--band); padding: clamp(40px, 5vw, 64px) 0 28px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 40px; }
.foot h2 { font: 400 26.1px/1.17 var(--head); letter-spacing: -0.02em; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot a { text-underline-offset: 3px; }
.legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: 14px; }

/* 404 */
.notfound { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(255, 255, 255, .97); display: none; align-items: center; justify-content: center; }
.lb.is-open { display: flex; }
.lb img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: var(--ink); font: 400 44px/1 var(--head); cursor: pointer; padding: 12px 18px; }
.lb__close { top: 8px; right: 10px; }
.lb__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 6px; top: 50%; transform: translateY(-50%); }

@media (max-width: 960px) {
  :root { --gut: 6vw; }
  .foot h2 { font-size: 21.5px; }
  .pas-head h1 { font-size: 43.6px; }
  .pas-head .h4 { font-size: 21.5px; }
  .pas-head__side p:first-of-type, .price-row--flip .price-row__text > p:first-of-type { font-size: 14.4px; }
  .price-row h2 { font-size: 32.6px; }
  .price-row--flip { grid-template-columns: 1fr calc(194px + clamp(24px, 4vw, 58px) + var(--edge)); }
  .price-row--flip h2 { font-size: 27px; }
  /* tall narrow-text row: photo stays one screen high (sticky) instead of being stretched to the row height */
  .price-row--flip .price-row__img { position: sticky; top: 0; align-self: start; height: 100vh; min-height: 0; }
  /* header: title 16 px + hamburger, as in the draft below desktop width */
  .site-header { padding: 0; }
  .site-header .wrap { min-height: 129px; flex-wrap: nowrap; }
  .site-title { font-size: 16px; position: relative; z-index: 61; }
  .js .burger { display: flex; flex-direction: column; justify-content: center; gap: 9px; width: 44px; height: 44px; padding: 0 4px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 61; color: var(--ink); }
  .burger span { display: block; height: 1.5px; background: currentColor; transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(5.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-5.25px) rotate(-45deg); }
  .js .site-nav { display: none; position: fixed; inset: 0; z-index: 60; background: var(--paper); flex-direction: column;
    align-items: center; justify-content: center; gap: 18px; font: 400 26px/1.2 var(--head); letter-spacing: -0.02em; }
  .js .site-nav.is-open { display: flex; }
  /* hero: two columns at tablet width, text column ≈311 px as in the draft */
  .hero .wrap { gap: 40px; }
  .hero__text { max-width: 311px; }
  .hero__img img { max-height: 620px; }
  .tiles { gap: 32px clamp(16px, 2vw, 24px); }
  .gallery { columns: 2; }
  .gallery.is-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(3, minmax(0, 194px)); gap: 32px 40px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { min-height: 84px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__text { max-width: none; }
  .hero__img { order: -1; }
  .hero__img img { max-height: 60vh; object-position: 50% 30%; }
  .intro__text { width: auto; }
  .services, .tiles, .foot, .contact-split, .pas-head__grid, .price-row, .price-row--flip { grid-template-columns: 1fr; }
  .foot h2 { font-size: 22.5px; }
  .pas-head h1 { font-size: 48.4px; }
  .pas-head .h4 { font-size: 22.5px; }
  .pas-head__side p:first-of-type, .price-row--flip .price-row__text > p:first-of-type { font-size: 14.9px; }
  .price-row h2 { font-size: 35.4px; }
  .price-row--flip h2 { font-size: 29px; }
  .price-row__text, .price-row--flip .price-row__text { order: 0; padding: 48px var(--gut) 32px; }
  .price-row--flip .price-row__img { position: static; height: auto; }
  .price-row__img img { aspect-ratio: 4 / 3; height: auto; }
  .price-row__img--white img { aspect-ratio: 1; }
  .tiles { gap: 28px; }
  .gallery, .gallery--few { columns: 2; }
  .gallery.is-grid { grid-template-columns: repeat(2, 1fr); column-gap: 8px; }
  .gallery > figure { margin-bottom: 8px; }
  .pager { flex-direction: column; }
  .lb img { max-width: 100vw; max-height: calc(100vh - 120px); }
  .lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; }
  .btn { padding: 17px 28px; }
}
