/* Lina Maliha portfolio. Ported from the canvas design (dark gallery direction). */

/* Self-hosted fonts (SIL Open Font License): Archivo and Newsreader, variable. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-standard-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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-standard-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: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/newsreader-latin-standard-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-standard-italic.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: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/newsreader-latin-ext-standard-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-ext-standard-italic.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: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/newsreader-latin-standard-normal.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-standard-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: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/newsreader-latin-ext-standard-normal.woff2") format("woff2-variations"), url("../fonts/newsreader-latin-ext-standard-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;
}


:root {
  --brown: #1a1512;
  --brown-2: #2a231e;
  --ink: #1f1914;
  --cream: #E6DCCB;
  --cream-2: #f3ede4;
  --white-warm: #fbf7f0;
  --body-light: #d8cfc3;
  --amber: #E3B36A;
  --copper-dark-bg: #DB9E70;
  --copper-light-bg: #A26B42;
  --linen: #f2ece3;
  --sand: #e6dccd;
  --taupe-1: #b9ae9f;
  --taupe-2: #9c9184;
  --taupe-3: #7a6f62;
  --taupe-4: #5f564c;
  --taupe-5: #4a3f36;
  --rule-dark: #3a322b;
  --error: #F2A68C;
  --sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --serif: Newsreader, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-ready { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brown);
  color: var(--cream-2);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--cream-2); color: var(--brown); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }

/* ---------- Type ---------- */
.title { margin: 0; display: flex; flex-direction: column; font-weight: inherit; }
.title__caps {
  font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  line-height: .86; letter-spacing: .006em; word-spacing: .08em;
}
.title__italic {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  line-height: .95; letter-spacing: -.02em;
}
.title--light .title__caps, .title--hero .title__caps, .title--about .title__caps { color: var(--cream); }
.title--light .title__italic, .title--hero .title__italic, .title--about .title__italic { color: var(--amber); }
.title--dark .title__caps { color: var(--ink); }
.title--dark .title__italic { color: var(--copper-light-bg); }

.title--hero, .title--about { text-shadow: 0 2px 24px rgba(10,8,6,.55), 0 1px 3px rgba(10,8,6,.35); }
.title--hero .title__caps { font-size: clamp(62px, 10.2vw, 152px); }
.title--hero .title__italic { font-size: clamp(52px, 8.2vw, 122px); }
.title--about .title__caps { font-size: clamp(56px, 8.6vw, 128px); }
.title--about .title__italic { font-size: clamp(48px, 7vw, 104px); }
.title--section .title__caps { font-size: clamp(46px, 6.2vw, 92px); }
.title--section .title__italic { font-size: clamp(40px, 5.2vw, 78px); }
.section--work .title--section .title__caps { font-size: clamp(46px, 7.4vw, 112px); }
.section--work .title--section .title__italic { font-size: clamp(42px, 6.2vw, 94px); }
.about-teaser .title--section .title__caps { font-size: clamp(52px, 6.4vw, 96px); }
.about-teaser .title--section .title__italic { font-size: clamp(44px, 5.4vw, 82px); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--taupe-1);
}
.eyebrow--dark { color: var(--taupe-4); }

.ul-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--copper-dark-bg);
  background: none; border: 0; padding: 10px 0; text-decoration: none; cursor: pointer;
  text-underline-offset: 5px; text-decoration-thickness: 1.5px;
  transition: color .2s ease;
}
.ul-link:hover { color: var(--amber); text-decoration-line: underline; }
.ul-link[hidden] { display: none; }
/* On the light linen and sand backgrounds, a deeper copper so the link stays easy to read */
.ul-link--dark { color: #7f4f2c; }
.ul-link--dark:hover { color: var(--ink); }

/* Outlined button: the secondary action next to a filled one */
.btn--outline {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--linen); }
.btn--outline svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header and menu ---------- */
/* The header stays at the top of the screen while you scroll. */
:root { --header-h: 64px; }
.topbar { position: sticky; top: 0; z-index: 20; }
.topbar--solid { background: var(--brown); box-shadow: 0 1px 0 var(--rule-dark); }
.hero { padding-top: var(--header-h); }
.hero > .topbar {
  position: fixed; top: 0; left: 0; right: 0;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.hero > .topbar.is-scrolled, .hero > .topbar.is-open {
  background: rgba(26,21,18,.94); box-shadow: 0 1px 0 var(--rule-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: var(--header-h); padding: 10px 0; }
#work, #about, #contact { scroll-margin-top: var(--header-h); }
.brand {
  font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white-warm); text-decoration: none;
}
.topnav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.topnav a { color: var(--white-warm); text-decoration: none; transition: color .2s ease; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--amber); }
.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--white-warm); cursor: pointer;
}
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
.mmenu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; padding: 4px 20px 28px;
  background: var(--brown); border-top: 1px solid var(--taupe-5);
  box-shadow: 0 24px 40px rgba(10,8,6,.45);
}
.mmenu[hidden] { display: none; }
.mmenu a {
  padding: 18px 0; border-bottom: 1px solid var(--rule-dark);
  font-size: 36px; font-weight: 800; font-stretch: 62%; line-height: 1;
  letter-spacing: .01em; text-transform: uppercase; color: var(--cream); text-decoration: none;
}
.mmenu a:last-child { border-bottom: 0; }
.mmenu a:hover, .mmenu a[aria-current="page"] { color: var(--amber); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; background-color: var(--brown); color: var(--cream-2); background-repeat: no-repeat; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero > .wrap, .hero > .hero__grow { position: relative; }
.hero__grow { flex: 1 1 auto; display: flex; align-items: flex-end; }

.hero--home {
  background-image: var(--hero-lg);
  background-size: max(125%, 1150px) auto;
  background-position: 0% 8%;
  min-height: clamp(860px, 60vw, 1700px);
}
.hero--home .hero__shade {
  background:
    linear-gradient(180deg, rgba(26,21,18,.5) 0%, rgba(26,21,18,0) 14%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(26,21,18,.6) 0%, rgba(26,21,18,.3) 50%, rgba(26,21,18,0) 75%),
    linear-gradient(180deg, rgba(26,21,18,0) 58%, rgba(26,21,18,.55) 82%, #1a1512 100%),
    radial-gradient(ellipse 70% 80% at 100% 45%, rgba(255,214,160,.22) 0%, rgba(255,214,160,.08) 45%, rgba(255,214,160,0) 70%),
    linear-gradient(90deg, rgba(26,21,18,.9) 0%, rgba(26,21,18,.78) 40%, rgba(26,21,18,.42) 70%, rgba(26,21,18,.15) 100%);
}
.hero--home .hero__grow { min-height: 500px; }
.hero--home .hero__grow .wrap { padding-bottom: 8px; }
.hero__intro {
  display: flex; flex-direction: column; gap: 16px; max-width: 620px;
  padding: 32px 0 96px; font-size: 20px; line-height: 1.6; color: var(--body-light);
  text-shadow: 0 1px 10px rgba(10,8,6,.5);
}
.hero__intro p { margin: 0; }
.hero__intro .hero__welcome {
  margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 32px;
  line-height: 1.25; max-width: 24ch; color: var(--copper-dark-bg);
}

/* Little arrow under the intro on phones, pointing to the work */
.scroll-cue {
  display: none; align-self: center; align-items: center; justify-content: center;
  width: 48px; height: 44px; margin-top: 10px;
  color: var(--amber); text-decoration: none; text-shadow: none;
  animation: cue-bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 28px; height: 28px; }
.scroll-cue:hover { color: var(--cream); }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.hero--about {
  background-image: var(--hero-lg); background-size: cover; background-position: 65% 40%;
  min-height: 560px;
}
.hero--about .hero__shade {
  background:
    linear-gradient(180deg, rgba(26,21,18,.5) 0%, rgba(26,21,18,0) 16%),
    linear-gradient(180deg, rgba(26,21,18,0) 55%, rgba(26,21,18,.6) 85%, #1a1512 100%),
    linear-gradient(90deg, rgba(26,21,18,.88) 0%, rgba(26,21,18,.7) 40%, rgba(26,21,18,.3) 75%, rgba(26,21,18,.15) 100%);
}
.hero--about .hero__grow .wrap { padding-bottom: 64px; }

/* ---------- Bands and sections ---------- */
.band--dark { background: var(--brown); color: var(--cream-2); }
.band--sand { background: var(--sand); color: var(--ink); }
.linen { background: var(--linen); color: var(--ink); }
.section { padding: 128px 0; }
.section--work { margin-top: -2px; }
#contact.section { padding-bottom: 160px; }
.section__head {
  padding-top: 28px; border-top: 1px solid var(--taupe-5); margin-bottom: 48px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ---------- Gallery grid and cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.grid--peek { gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; color: var(--cream-2); text-decoration: none; }
.card__ph { aspect-ratio: 4 / 5; background: var(--brown-2); overflow: hidden; }
.card__img, .portrait__img, .story__img, .gallery__img, .gallery__thumb-img {
  width: 100%; height: 100%; object-fit: cover;
}
.card__img { transition: opacity .3s ease; }
.card:hover .card__img { opacity: .82; }
.card__text { display: flex; flex-direction: column; gap: 4px; }
.card__title {
  font-size: 28px; font-weight: 800; font-stretch: 62%; line-height: 1; letter-spacing: .01em;
  text-transform: uppercase; color: var(--cream); transition: color .2s ease;
}
.card:hover .card__title { color: var(--amber); }
.card__together { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--taupe-1); }
.note { margin: 56px 0 0; font-size: 14px; line-height: 1.6; color: var(--taupe-2); }

/* ---------- Splits ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }

.split--about { align-items: center; }
.portrait__img--wide { display: none; }
/* Desktop: photo runs to the left edge of the screen, full section height, fading into the copy */
@media (min-width: 861px) {
  #about.section { position: relative; overflow: hidden; }
  .split--about { min-height: 640px; }
  .split--about .portrait { position: absolute; top: 0; bottom: 0; left: 0; width: 52vw; aspect-ratio: auto; background: none;
    -webkit-mask-image: radial-gradient(ellipse 66% 115% at 30% 45%, #000 0%, rgba(0,0,0,1) 28.0%, rgba(0,0,0,0.98) 35.2%, rgba(0,0,0,0.93) 42.4%, rgba(0,0,0,0.85) 49.6%, rgba(0,0,0,0.74) 56.8%, rgba(0,0,0,0.6) 64.0%, rgba(0,0,0,0.45) 71.2%, rgba(0,0,0,0.3) 78.4%, rgba(0,0,0,0.16) 85.6%, rgba(0,0,0,0.05) 92.8%, rgba(0,0,0,0) 100.0%); mask-image: radial-gradient(ellipse 66% 115% at 30% 45%, #000 0%, rgba(0,0,0,1) 28.0%, rgba(0,0,0,0.98) 35.2%, rgba(0,0,0,0.93) 42.4%, rgba(0,0,0,0.85) 49.6%, rgba(0,0,0,0.74) 56.8%, rgba(0,0,0,0.6) 64.0%, rgba(0,0,0,0.45) 71.2%, rgba(0,0,0,0.3) 78.4%, rgba(0,0,0,0.16) 85.6%, rgba(0,0,0,0.05) 92.8%, rgba(0,0,0,0) 100.0%); }
  .split--about .portrait::after { content: none; }
  .split--about .about-teaser { position: relative; z-index: 1; }
  .split--about .portrait__img { object-position: 50% 8% !important; }
  /* Wide photo on desktop: Lina on the left, the studio dissolves into the copy */
  .portrait--has-wide .portrait__img--tall { display: none; }
  .portrait--has-wide .portrait__img--wide { display: block; }
  .split--about .portrait--has-wide { width: calc(50vw + 26px); -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,1) 44.6%, rgba(0,0,0,0.98) 50.1%, rgba(0,0,0,0.93) 55.7%, rgba(0,0,0,0.85) 61.2%, rgba(0,0,0,0.74) 66.8%, rgba(0,0,0,0.6) 72.3%, rgba(0,0,0,0.45) 77.8%, rgba(0,0,0,0.3) 83.4%, rgba(0,0,0,0.16) 88.9%, rgba(0,0,0,0.05) 94.5%, rgba(0,0,0,0) 100.0%); mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,1) 44.6%, rgba(0,0,0,0.98) 50.1%, rgba(0,0,0,0.93) 55.7%, rgba(0,0,0,0.85) 61.2%, rgba(0,0,0,0.74) 66.8%, rgba(0,0,0,0.6) 72.3%, rgba(0,0,0,0.45) 77.8%, rgba(0,0,0,0.3) 83.4%, rgba(0,0,0,0.16) 88.9%, rgba(0,0,0,0.05) 94.5%, rgba(0,0,0,0) 100.0%); }
  /* Leave a clear band of sand between the end of the fade and the text */
  .split--about:has(.portrait--has-wide) .about-teaser { padding-left: 5vw; }
  .split--about:has(.portrait--has-wide) .title__caps { white-space: nowrap; }
  .split--about .portrait__img--wide { object-position: 6% 45% !important; }
}
@media (min-width: 861px) {
  #about.section:has(.portrait--has-wide) { padding: 88px 0; }
  .split--about:has(.portrait--has-wide) { min-height: 0; }
}
/* On narrower laptops, slide the wide photo left so Lina stays clear of the fade */
@media (min-width: 861px) and (max-width: 1599px) {
  .split--about .portrait__img--wide { object-position: 14% 45% !important; }
}
@media (min-width: 861px) and (max-width: 1439px) {
  .split--about .portrait__img--wide { object-position: 18% 45% !important; }
}
@media (min-width: 861px) and (max-width: 1199px) {
  .split--about .portrait__img--wide { object-position: 20% 45% !important; }
}
.portrait { grid-column: span 5; aspect-ratio: 4 / 5; background: #d8ccba; overflow: hidden; }
.about-teaser { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 24px; }
.about-teaser .title { margin-bottom: 8px; }
.about-teaser__lead { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.3; color: var(--ink); }
.about-teaser__body { margin: 0; font-size: 17px; line-height: 1.7; color: var(--taupe-5); max-width: 56ch; }

.split--contact { align-items: start; }
.contact__intro { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; padding-right: 64px; }
.contact__text { display: flex; flex-direction: column; gap: 16px; }
.contact__text p { margin: 0; font-size: 22px; line-height: 1.5; color: var(--body-light); }
.contact__aside { margin: 0; font-size: 17px; line-height: 1.6; color: var(--taupe-2); }
.contact__aside a { color: var(--copper-dark-bg); text-decoration: none; font-weight: 600; }
.contact__aside a:hover { color: var(--amber); }
.split--contact .form { grid-column: 6 / span 7; padding-top: 8px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 28px; font-size: 17px; color: var(--body-light); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.label { font-size: 17px; font-weight: 600; color: var(--body-light); }
.pills { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills legend { padding: 0; margin-bottom: 12px; }
.pills__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-block; font-size: 16px; font-weight: 600; color: var(--body-light);
  background: transparent; border: 1px solid var(--taupe-3); border-radius: 999px; padding: 12px 20px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.pill:hover input:not(:checked) + span { border-color: var(--taupe-2); color: var(--cream-2); }
.pill input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--brown); }
.pill input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.input {
  font: inherit; color: var(--cream-2); background: rgba(243,237,228,.06);
  border: 1px solid var(--taupe-3); border-radius: 12px; padding: 14px 16px; width: 100%;
  transition: border-color .2s ease;
}
.input:focus { outline: 2px solid var(--amber); outline-offset: 2px; border-color: var(--amber); }
textarea.input { resize: vertical; min-height: 120px; }
.optional { font-weight: 400; color: var(--taupe-2); }
.form__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--taupe-2); }
.split--contact .form__note { margin-bottom: -8px; }
.field__error { display: none; margin: 0; font-size: 15px; color: var(--error); }
.field.is-invalid .input { border-color: var(--error); }
.field.is-invalid .field__error { display: block; }
.form__actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__status { margin: 0 auto 0 0; font-size: 15px; color: var(--error); }
.form__status:empty { display: none; }
.btn {
  color: var(--brown); background: var(--cream-2); border: 0; border-radius: 999px;
  padding: 16px 32px; font-weight: 700; cursor: pointer; transition: background .2s ease;
}
.btn:hover { background: var(--amber); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--wide { align-self: stretch; }
.form__done { padding: 8px 0; }
.form__done:focus { outline: none; }
.form__done p { margin: 0 0 8px; font-size: 18px; line-height: 1.6; color: var(--body-light); }
.form__done .form__done-title { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.2; color: var(--amber); }
.form.is-sent > :not(.form__done):not(input[type="hidden"]) { display: none; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  padding: 36px 0 48px; border-top: 1px solid var(--rule-dark); font-size: 14px; color: var(--taupe-2);
}
.footer__brand { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.footer__nav { display: flex; gap: 28px; font-weight: 600; }
.footer__nav a { color: var(--body-light); text-decoration: none; }
.footer__nav a:hover { color: var(--amber); }

/* ---------- Piece page ---------- */
.piece__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 28px 0 24px; }
.back { font-size: 15px; font-weight: 600; color: var(--body-light); text-decoration: none; padding: 10px 0; }
.back:hover { color: var(--amber); }
.piece__count { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--taupe-2); }
.split--piece { padding-bottom: 112px; }
.gallery { grid-column: span 7; display: flex; flex-direction: column; gap: 12px; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; background: var(--brown-2); overflow: hidden; }
.gallery__slide { position: absolute; inset: 0; }
.gallery__slide[hidden] { display: none; }
.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--taupe-5); background: rgba(26,21,18,.72); color: var(--cream-2); font-size: 20px; cursor: pointer;
}
.gallery__arrow:hover { border-color: var(--amber); color: var(--amber); }
.gallery__arrow--prev { left: 16px; }
.gallery__arrow--next { right: 16px; }
.gallery__count {
  position: absolute; right: 18px; bottom: 18px; font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--cream); background: rgba(26,21,18,.72); border-radius: 999px; padding: 4px 12px;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb {
  aspect-ratio: 1 / 1; border: 0; padding: 0; background: var(--brown-2); overflow: hidden; cursor: pointer;
  opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s ease;
}
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb.is-active { opacity: 1; outline-color: var(--amber); }

.info { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: flex; flex-direction: column; gap: 32px; }
.info__title { margin: 0; display: flex; flex-direction: column; gap: 12px; font-weight: inherit; }
.info__name {
  font-weight: 800; font-stretch: 62%; font-size: clamp(48px, 5.4vw, 76px); line-height: .88;
  letter-spacing: .006em; word-spacing: .08em; text-transform: uppercase; color: var(--cream);
}
.info__together { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 30px; line-height: 1.1; color: var(--copper-dark-bg); }
.info__words { display: flex; flex-direction: column; gap: 12px; }
.info__words p { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--body-light); }
.specs { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule-dark); }
.spec { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); font-size: 16px; color: var(--cream); }
.spec dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-1); padding-top: 3px; }
.spec dd { margin: 0; }
.ask { display: flex; flex-direction: column; }
.form--ask { gap: 20px; padding-top: 24px; border-top: 1px solid var(--taupe-5); }
.form--ask[hidden] { display: none; }
.ask__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.icon-btn {
  width: 44px; height: 44px; margin-right: -12px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--body-light); cursor: pointer;
}
.icon-btn:hover { color: var(--amber); }
.tag { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--cream); border: 1px solid var(--taupe-3); border-radius: 999px; padding: 8px 14px; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 28px 0 88px; border-top: 1px solid var(--taupe-5); }
.pager__link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.pager__link--next { align-items: flex-end; text-align: right; }
.pager__title {
  font-weight: 800; font-stretch: 62%; font-size: 40px; line-height: .9; text-transform: uppercase;
  color: var(--cream); transition: color .2s ease;
}
.pager__link:hover .pager__title { color: var(--amber); }
.pager__together { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--taupe-1); }

/* ---------- About page ---------- */
.facts {
  margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
  padding: 32px 0; border-bottom: 1px solid #d6cbbb;
}
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-4); }
.fact dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--ink); }
.story { padding: 96px 0 128px; }
.story__side { grid-column: span 4; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; aspect-ratio: 4 / 5; background: #e2d8c9; overflow: hidden; }
.story__text { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.7; color: var(--taupe-5); }
.story__text p { margin: 0; max-width: 60ch; }
.story__text .story__opening { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 40px; line-height: 1.2; color: var(--ink); max-width: 26ch; }
.story__text .story__pull {
  margin: 8px 0; padding-left: 24px; border-left: 2px solid var(--amber);
  font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.3; color: var(--ink); max-width: 30ch;
}
.story__text .story__closing { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.3; color: var(--copper-light-bg); }
.section--next { padding: 120px 0 136px; }
.next__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 32px; margin-bottom: 48px; }

/* ---------- Simple pages ---------- */
.simple { padding: 120px 0 160px; }
.simple__text { margin: 28px 0 32px; max-width: 52ch; font-size: 20px; line-height: 1.6; color: var(--body-light); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .hero--home { background-image: var(--hero-sm); background-size: 1150px auto; background-position: 75% 0; min-height: 0; }
  .hero--home .hero__shade {
    background:
      linear-gradient(180deg, rgba(26,21,18,.5) 0px, rgba(26,21,18,0) 140px, rgba(26,21,18,.3) 460px, rgba(26,21,18,.85) 720px, #1a1512 870px, #1a1512 100%),
      linear-gradient(90deg, rgba(26,21,18,.7) 0%, rgba(26,21,18,.35) 60%, rgba(26,21,18,.1) 100%);
  }
  .hero--home .hero__grow { min-height: 440px; }
  .hero--about { background-image: var(--hero-sm); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--peek { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; row-gap: 56px; }
  .split > * { grid-column: 1 / -1 !important; }
  .section { padding: 96px 0; }
  #contact.section { padding-bottom: 112px; }
  .contact__intro { padding-right: 0; }
  .portrait, .story__side { width: 100%; max-width: 520px; }
  .story__side, .info { position: static; }
  .split--piece { row-gap: 48px; }
  /* Home About photo: full width, fading into the copy below */
  #about.section { padding-top: 0; }
  .split--about { row-gap: 0; }
  .split--about .portrait { position: relative; width: auto; max-width: none; margin: 0 -32px; aspect-ratio: 1 / 1; background: none; }
  .split--about .portrait__img { object-position: 50% 0% !important; }
  .split--about .portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 55%; pointer-events: none;
    background: linear-gradient(to bottom, rgba(230,220,205,0) 0%, rgba(230,220,205,0.02) 10%, rgba(230,220,205,0.07) 20%, rgba(230,220,205,0.15) 30%, rgba(230,220,205,0.26) 40%, rgba(230,220,205,0.4) 50%, rgba(230,220,205,0.55) 60%, rgba(230,220,205,0.7) 70%, rgba(230,220,205,0.84) 80%, rgba(230,220,205,0.95) 90%, var(--sand) 100%); }
  .split--about .about-teaser { position: relative; z-index: 1; margin-top: -72px; }
}

/* ---------- Phone ---------- */
@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .topnav { display: none; }
  .burger { display: inline-flex; }
  .brand { font-size: 13px; letter-spacing: .1em; }
  .hero--home { background-size: 190% auto; background-position: 75% 0; }
  .hero--home .hero__shade {
    background: linear-gradient(180deg, rgba(26,21,18,.55) 0vw, rgba(26,21,18,.12) 18vw, rgba(26,21,18,.5) 50vw, rgba(26,21,18,.8) 80vw, rgba(26,21,18,.92) 112vw, #1a1512 138vw, #1a1512 100%);
  }
  /* The hero fills one screen: the text sits near the bottom, spare height goes above the title */
  .hero--home { min-height: 100vh; min-height: 100svh; }
  .hero--home .hero__grow { min-height: 0; padding-top: clamp(24px, 5svh, 40px); }
  .title--hero .title__caps { font-size: clamp(48px, 14.5vw, 62px); }
  .title--hero .title__italic { font-size: clamp(42px, 12.5vw, 52px); }
  .hero__intro { gap: 12px; padding: 18px 0 16px; font-size: 17px; line-height: 1.5; }
  .hero__intro .hero__welcome { margin-top: 2px; font-size: 26px; }
  .scroll-cue { display: inline-flex; }
  .hero--about { min-height: 460px; }
  .hero--about .hero__grow .wrap { padding-bottom: 48px; }
  .grid { grid-template-columns: 1fr; row-gap: 48px; }
  .grid--peek { gap: 12px; }
  .grid--peek .card__text { display: none; }
  .split { row-gap: 40px; }
  .section, .section--next { padding: 72px 0; }
  .section--work { padding-top: 48px; }
  #contact.section { padding-bottom: 88px; }
  .two { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer { gap: 12px; padding: 28px 0 36px; }
  .footer__nav { display: none; }
  .facts { grid-template-columns: 1fr; row-gap: 20px; }
  .story { padding: 64px 0 72px; }
  .story__text .story__opening { font-size: 32px; }
  .story__text .story__pull { font-size: 26px; }
  .pager { gap: 16px; padding: 20px 0 56px; }
  .pager__link { padding: 6px 0; min-height: 44px; }
  .pager__title { font-size: 22px; line-height: 1; }
  .pager__together { display: none; }
  .split--about .portrait { margin: 0 -20px; aspect-ratio: 4 / 5; }
  .split--about .portrait::after { height: 60%; }
  .split--about .about-teaser { margin-top: -56px; }
}
@media (min-width: 561px) { .mmenu { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html, html.is-ready { scroll-behavior: auto; }
  * { transition: none !important; }
  .scroll-cue { animation: none; }
}
@media (min-width: 861px) and (max-width: 1199px) {
  .split--about:has(.portrait--has-wide) .about-teaser { padding-left: 3vw; }
}
@media (min-width: 861px) and (max-width: 1199px) {
  .split--about .portrait--has-wide { width: calc(50vw + 10px); }
}

/* ---------- Home hero: always fits one screen, with the start of the work section peeking below ----------
   The hero is one screen tall minus --peek, and its type scales with the screen height as well as the width,
   so the whole intro sits above the fold on any screen and the "Work" rule and label show underneath. */
:root { --peek: clamp(100px, 13svh, 124px); }
.hero--home { min-height: calc(100vh - var(--peek)); min-height: calc(100svh - var(--peek)); }
.hero--home .hero__grow { min-height: 0; }
.section--work { padding-top: clamp(26px, 4svh, 40px); }
.title--hero .title__caps { font-size: clamp(38px, min(10.2vw, 12.4svh), 152px); }
.title--hero .title__italic { font-size: clamp(32px, min(8.2vw, 10svh), 122px); }
.hero--home .hero__intro { gap: clamp(8px, 1.6svh, 16px); padding: clamp(12px, 3svh, 32px) 0 clamp(14px, 3.4svh, 40px);
  font-size: clamp(14px, min(1.45vw, 2.25svh), 20px); }
.hero--home .hero__intro .hero__welcome { margin-top: 0; font-size: clamp(19px, min(2.3vw, 3.5svh), 32px); }
.hero--home .scroll-cue { display: none; }
@media (max-width: 560px) {
  .hero--home .hero__grow { padding-top: clamp(16px, 3svh, 40px); }
  .title--hero .title__caps { font-size: clamp(34px, min(14.5vw, 7.2svh), 62px); }
  .title--hero .title__italic { font-size: clamp(30px, min(12.5vw, 6.1svh), 52px); }
  .hero--home .hero__intro { gap: clamp(8px, 1.4svh, 12px); padding: clamp(10px, 2svh, 18px) 0 clamp(10px, 2svh, 16px);
    font-size: clamp(14px, min(4.4vw, 2.05svh), 17px); line-height: 1.5; }
  .hero--home .hero__intro .hero__welcome { font-size: clamp(19px, min(6.7vw, 3.1svh), 26px); }
}
/* Very short screens, like a phone turned sideways: tighter type and a wider text column so it still fits */
@media (max-height: 500px) and (min-width: 561px) {
  .title--hero .title__caps { font-size: clamp(28px, 10svh, 48px); }
  .title--hero .title__italic { font-size: clamp(24px, 8.4svh, 40px); }
  .hero--home .hero__intro { max-width: 780px; gap: 6px; padding: 8px 0 10px; font-size: 13px; line-height: 1.45; }
  .hero--home .hero__intro .hero__welcome { font-size: 17px; }
}

/* ---------- "Say hello" pop-up ---------- */
html.has-dialog { overflow: hidden; }
.dlg {
  border: 0; padding: 0; margin: auto; width: min(680px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  background: var(--brown); color: var(--cream-2); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 0 1px var(--rule-dark);
}
.dlg::backdrop { background: rgba(26,21,18,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .22s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dlg__inner { position: relative; display: flex; flex-direction: column; gap: 32px; padding: 52px 48px 44px; }
.dlg__close { position: absolute; top: 14px; right: 26px; color: var(--cream-2); }
.title--dlg { outline: none; }
.dlg__lead { margin: -8px 0 0; max-width: 34ch; font-size: 19px; line-height: 1.55; color: var(--body-light); }
.title--dlg .title__caps { font-size: clamp(40px, 5.4vw, 72px); }
.title--dlg .title__italic { font-size: clamp(34px, 4.6vw, 60px); }
@media (max-width: 560px) {
  .dlg { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; box-shadow: none; }
  .dlg__inner { padding: 60px 20px 32px; gap: 28px; }
  .dlg__close { top: 10px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) { .dlg[open] { animation: none; } }

/* ---------- About page ----------
   Hero: same treatment as the home hero, with the portrait (set in the editor). */
.hero--home.hero--me { background-size: max(76vw, calc(clamp(700px, 52vw, 1000px) * 1.42)) auto; background-position: right 30%; min-height: clamp(700px, 52vw, 1000px); }
.hero--me .hero__shade { background: linear-gradient(90deg, #1a1512 0%, #1a1512 18%, rgba(26,21,18,.97) 23%, rgba(26,21,18,.92) 28%, rgba(26,21,18,.84) 33%, rgba(26,21,18,.73) 38%, rgba(26,21,18,.6) 43%, rgba(26,21,18,.46) 48%, rgba(26,21,18,.33) 53%, rgba(26,21,18,.21) 58%, rgba(26,21,18,.11) 63%, rgba(26,21,18,.04) 68%, rgba(26,21,18,0) 73%), linear-gradient(180deg, rgba(26,21,18,.5) 0%, rgba(26,21,18,0) 14%), linear-gradient(180deg, rgba(26,21,18,0) 62%, rgba(26,21,18,.6) 86%, #1a1512 100%), radial-gradient(ellipse 70% 80% at 100% 45%, rgba(255,214,160,.14) 0%, rgba(255,214,160,0) 70%); }
.hero--me .hero__grow { min-height: 0; }
.hero--me .hero__intro { padding-bottom: 72px; }
.hero--me .hero__welcome { font-size: clamp(26px, 2.3vw, 34px); max-width: 44ch; text-wrap: balance; }
.ab{background:var(--linen);color:var(--ink)}
.ab-body{padding:96px 0 120px}
.ab-body .story__text{grid-column:1 / span 7;grid-row:1}
.ab-body .story__text p{max-width:62ch}
.ab-side{grid-column:9 / span 4;grid-row:1;position:sticky;top:calc(var(--header-h) + 32px);align-self:start;display:flex;flex-direction:column;gap:32px}
.ab-side dl{margin:0}
.ab-side .row{display:flex;flex-direction:column;gap:4px;padding:14px 0;border-bottom:1px solid #d9cfc0}
.ab-side .row:first-child{border-top:1px solid #d9cfc0}
.ab-side dt{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--taupe-4)}
.ab-side dd{margin:0;font-family:var(--serif);font-style:italic;font-size:20px;line-height:1.3;color:var(--ink)}
.ab-side__cta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ab-side__cta .btn:not(.btn--outline){text-decoration:none;color:var(--linen);background:var(--ink)}
.ab-side__cta .btn:not(.btn--outline):hover{background:var(--copper-light-bg)}

@media (max-width:860px){
 .hero--home.hero--me { background-size: 1150px auto; background-position: 45% 18%; min-height: 0; }
 .hero--me .hero__grow { min-height: 520px; }
 .ab-body{padding:64px 0 80px}
 .ab-body .story__text,.ab-side{grid-row:auto;grid-column:1 / -1;position:static}
}
@media (max-width:560px){
 .hero--home.hero--me { background-size: 165% auto; background-position: 52% 0; min-height: 100svh; }
 .hero--me .hero__shade { background: linear-gradient(180deg, rgba(26,21,18,.5) 0%, rgba(26,21,18,0) 12%, rgba(26,21,18,0) 38%, rgba(26,21,18,.75) 52%, #1a1512 60%); }
 .hero--me .hero__grow { min-height: 0; }
 .hero--me .hero__intro { padding-bottom: 40px; }
 .ab-side__cta .btn{width:auto}
}
