/* ================================================================
   Marina Norvina — artist site
   Type & layout inspired by editorial furniture sites;
   palette drawn from the paintings: ivory, lilac, sage, aubergine.
   ================================================================ */

:root {
  --ivory: #f6f2ec;
  --linen: #ece5db;
  --paper: #fbf9f5;
  --plum: #2c2233;
  --plum-2: #3a2e42;
  --ink: #2b2330;
  --muted: #776d7c;
  --line: rgba(43, 35, 48, .16);
  --lilac: #a28cc2;
  --lilac-soft: #d9cfe6;
  --sage: #8d9b80;
  --rose: #d6a9a6;
  --cream-on-dark: #f3ede4;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
figure { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow.light { color: rgba(243, 237, 228, .78); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 22px;
}
.h2 em, .hero-title em { font-style: italic; font-weight: 400; }
.h2.light { color: var(--cream-on-dark); }
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.05;
  margin: 0 0 8px;
}
.body { font-size: 15px; color: var(--muted); margin: 0 0 18px; max-width: 46ch; }
.body.light { color: rgba(243, 237, 228, .74); }
.lead { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.4; margin: 0 0 20px; color: var(--ink); max-width: 38ch; }
.meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac); margin: 0 0 22px; font-weight: 500; }
.rule { display: block; width: 36px; height: 1px; background: currentColor; opacity: .35; margin: 26px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 16px 22px 16px 24px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  border: 1px solid transparent;
}
.btn .arr, .link-arrow .arr { width: 12px; height: 12px; stroke-width: 1.4; transition: transform .35s var(--ease); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translate(3px, -3px); }
.btn-light { background: var(--cream-on-dark); color: var(--plum); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--plum); color: var(--cream-on-dark); }
.btn-dark:hover { background: var(--plum-2); }
.btn-outline-light { border-color: rgba(243, 237, 228, .5); color: var(--cream-on-dark); }
.btn-outline-light:hover { background: var(--cream-on-dark); color: var(--plum); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow.light { color: var(--cream-on-dark); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter) 22px;
  color: var(--cream-on-dark);
  transition: background .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.nav.solid {
  background: rgba(246, 242, 236, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.logo-name.big { font-size: clamp(34px, 3.2vw, 46px); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.logo-sub { font-size: 9.5px; letter-spacing: .5em; text-transform: uppercase; margin-top: 7px; opacity: .8; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-links a {
  font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-icons { display: flex; align-items: center; gap: 20px; }
.nav-icons svg { width: 19px; height: 19px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: .16em; }
.lang button { padding: 4px 1px 3px; opacity: .55; border-bottom: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.lang button:hover { opacity: .9; }
.lang button.on { opacity: 1; border-color: currentColor; }
.lang span { opacity: .35; }
.burger { display: none; width: 26px; height: 18px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 5px; }
.burger span:last-child { top: 13px; }
.nav.open .burger span:first-child { top: 9px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 9px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 940px); min-height: min(100svh, 940px);
  display: flex; align-items: center;
  color: var(--cream-on-dark); overflow: hidden;
  background: var(--plum);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 30%;
  transform: scale(1.06); animation: heroIn 2.4s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 28, 44, .78) 0%, rgba(38, 28, 44, .5) 36%, rgba(38, 28, 44, 0) 62%),
    linear-gradient(0deg, rgba(38, 28, 44, .45) 0%, rgba(38, 28, 44, 0) 30%),
    linear-gradient(180deg, rgba(38, 28, 44, .35) 0%, rgba(38, 28, 44, 0) 18%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 140px; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .98; letter-spacing: -.015em;
  margin: 0 0 30px;
}
.hero-title em { color: #efe4f3; }
.hero-text { max-width: 36ch; font-size: 16px; line-height: 1.7; color: rgba(243, 237, 228, .86); margin: 0 0 38px; }
.hero-foot {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
}
.hero-index { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .14em; color: rgba(243, 237, 228, .6); }
.hero-index .on { color: var(--cream-on-dark); position: relative; }
.hero-index .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: currentColor; }
.hero-index i { width: 28px; height: 1px; background: rgba(243, 237, 228, .35); }
.hero-meet { display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.hero-meet .ring { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 237, 228, .6); display: grid; place-items: center; transition: background .3s, color .3s; }
.hero-meet .ring svg { width: 14px; height: 14px; }
.hero-meet:hover .ring { background: var(--cream-on-dark); color: var(--plum); }

/* ---------- themes ---------- */
.themes { padding: clamp(70px, 9vw, 120px) 0; background: var(--ivory); }
.themes-grid { display: grid; grid-template-columns: 1.05fr repeat(4, 1fr); gap: 20px; align-items: stretch; }
.themes-intro { padding-right: 20px; align-self: center; }
.themes-intro .body { max-width: 30ch; }
.theme-card { position: relative; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--linen); }
.theme-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.theme-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38, 28, 44, .62) 0%, rgba(38, 28, 44, 0) 45%); }
.theme-card:hover img { transform: scale(1.06); }
.theme-label {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--cream-on-dark); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.theme-label svg { width: 26px; height: 26px; padding: 4px; border: 1px solid rgba(243, 237, 228, .55); }

/* ---------- room sections (interior as background) ---------- */
.room { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; }
.room-bg { position: absolute; inset: 0; width: 100%; height: 118%; top: -9%; object-fit: cover; will-change: transform; }
.room-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 242, 236, .5) 0%, rgba(246, 242, 236, 0) 45%); }
.room-right .room-shade { background: linear-gradient(270deg, rgba(246, 242, 236, .45) 0%, rgba(246, 242, 236, 0) 45%); }
.room-inner { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: inherit; justify-content: center; padding-top: 80px; padding-bottom: 80px; }
.room-right .room-inner { align-items: flex-end; }
.room-card {
  background: rgba(251, 249, 245, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: clamp(32px, 4vw, 54px);
  max-width: 470px;
}
.room-card .body { margin-bottom: 30px; }
.room-caption {
  position: absolute; bottom: 26px; left: var(--gutter);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35); margin: 0;
}
.room-right .room-caption { left: auto; right: var(--gutter); }
.room-caption em { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; text-transform: none; }

/* ---------- feature (lilac) ---------- */
.feature { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.feature-main { cursor: zoom-in; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(44, 34, 51, .35); }
.feature-main img { width: 100%; transition: transform 1.2s var(--ease); }
.feature-main:hover img { transform: scale(1.03); }
.feature-side { display: flex; flex-direction: column; gap: 44px; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 8px; }
.feature-detail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-detail figcaption, .texture-img figcaption { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- promises ---------- */
.promises { background: var(--linen); padding: 46px 0; }
.promises-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { display: flex; gap: 18px; align-items: flex-start; padding: 8px 28px; border-left: 1px solid var(--line); }
.promise:first-child { border-left: 0; padding-left: 0; }
.promise svg { width: 34px; height: 34px; flex: none; color: var(--plum); stroke-width: 1; }
.promise h4 { margin: 2px 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.promise p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- texture (dark) ---------- */
.texture { background: var(--plum); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.texture-grid { display: grid; grid-template-columns: 1fr 1.1fr .8fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.texture-text { padding-right: 20px; }
.texture-text .body { margin-bottom: 34px; }
.texture-img img { width: 100%; object-fit: cover; }
.texture-img.t1 img { aspect-ratio: 4 / 4.6; }
.texture-img.t2 { margin-top: 120px; }
.texture-img.t2 img { aspect-ratio: 3 / 4; }
.texture-img figcaption { color: rgba(243, 237, 228, .5); }

/* ---------- section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; }

/* ---------- trio + works cards ---------- */
.trio { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.works { padding: clamp(80px, 10vw, 130px) 0; background: var(--ivory); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px clamp(20px, 2.4vw, 36px); }
.card { display: flex; flex-direction: column; }
.card.hide { display: none; }
.card-img { position: relative; overflow: hidden; background: var(--linen); aspect-ratio: 4 / 5; cursor: zoom-in; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-tag { position: absolute; top: 14px; left: 14px; background: rgba(251, 249, 245, .92); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; font-weight: 500; }
.card-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.card-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin: 0 0 6px; font-weight: 400; }
.card-meta { font-size: 12px; color: var(--muted); margin: 0; }
.card-btn { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; white-space: nowrap; padding: 10px 14px; border: 1px solid var(--ink); transition: background .3s, color .3s; }
.card-btn:hover { background: var(--plum); color: var(--cream-on-dark); border-color: var(--plum); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--line); transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--plum); color: var(--cream-on-dark); border-color: var(--plum); }

/* ---------- about ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.about-img { overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-text { padding: clamp(60px, 8vw, 120px) clamp(28px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.about-text .body { max-width: 52ch; }
.quote { margin: 28px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); max-width: 46ch; }
.quote svg { width: 26px; height: 20px; fill: var(--lilac); stroke: none; margin-bottom: 16px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; margin: 0 0 12px; }
.quote cite { font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- commission ---------- */
.commission-grid { display: grid; grid-template-columns: .9fr 1fr 1.25fr; min-height: 460px; }
.commission-dark { background: var(--plum); padding: clamp(44px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.commission-dark .body { margin-bottom: 30px; }
.commission-img { overflow: hidden; }
.commission-img img { width: 100%; height: 100%; object-fit: cover; }
.commission-quote { background: var(--lilac-soft); padding: clamp(44px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.commission-quote .qmark { width: 34px; height: 26px; fill: var(--plum); stroke: none; opacity: .5; margin-bottom: 22px; }
.commission-quote > p:first-of-type { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; margin: 0; max-width: 32ch; }
.commission-quote .rule { margin: 26px 0 16px; }
.cite-name { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.cite-role { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--linen); padding: 38px 0; }
.news-grid { display: grid; grid-template-columns: auto 1fr minmax(280px, 460px); gap: 24px; align-items: center; }
.news-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--plum); color: var(--cream-on-dark); display: grid; place-items: center; }
.news-icon svg { width: 20px; height: 20px; }
.newsletter h4 { margin: 0 0 4px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.newsletter p { margin: 0; font-size: 13px; color: var(--muted); }
.news-form { display: flex; }
.news-form input { flex: 1; min-width: 0; padding: 15px 16px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 13px; color: var(--ink); outline: none; }
.news-form input:focus { border-color: var(--plum); }
.news-form button { padding: 0 24px; background: var(--plum); color: var(--cream-on-dark); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.news-form.done input { border-color: var(--sage); }

/* ---------- footer ---------- */
.footer { position: relative; background: #efe9e0; overflow: hidden; }
.footer-art { position: absolute; inset: 0 auto 0 0; width: 34%; }
.footer-art img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.footer-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239, 233, 224, 0) 30%, #efe9e0 100%); }
.footer-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr .8fr 1.1fr; gap: 0;
  margin-left: 30%; padding: 90px var(--gutter) 50px;
}
.footer-brand { display: flex; flex-direction: column; justify-content: center; padding-right: 40px; }
.footer-brand .logo-sub { color: var(--muted); }
.footer-note { font-size: 13px; color: var(--muted); max-width: 32ch; margin: 24px 0 0; }
.footer-col { border-left: 1px solid var(--line); padding: 0 clamp(20px, 3vw, 50px); display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { margin: 0 0 12px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }
.footer-col a, .footer-col p { font-family: var(--serif); font-size: 19px; margin: 0; color: var(--ink); transition: color .3s; }
.footer-col a:hover { color: var(--lilac); }
.footer-col .ic { display: flex; align-items: center; gap: 14px; }
.footer-col .ic svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.footer-bottom {
  position: relative; z-index: 2; margin-left: 30%;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter) 36px;
  font-size: 12px; letter-spacing: .12em; color: var(--muted);
}
.footer-bottom::before { content: ""; order: 1; flex: 1; height: 1px; background: var(--line); }
.footer-bottom .sprig { order: 2; width: 90px; height: 30px; color: var(--sage); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28, 20, 33, .72); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; background: var(--paper);
  width: min(1100px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  display: grid; grid-template-columns: 1.3fr 1fr;
  transform: translateY(20px); transition: transform .5s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-img { background: var(--linen); display: flex; align-items: center; justify-content: center; }
.modal-img img { width: 100%; height: 100%; max-height: calc(100vh - 40px); object-fit: contain; }
.modal-body { padding: clamp(28px, 4vw, 50px); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--paper); z-index: 2; }
.modal-close svg { width: 18px; height: 18px; }
.enquiry { display: grid; gap: 14px; margin-top: 10px; }
.enquiry label { display: grid; gap: 6px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.enquiry input, .enquiry textarea { font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); background: #fff; outline: none; resize: vertical; }
.enquiry input:focus, .enquiry textarea:focus { border-color: var(--plum); }
.enquiry .btn { justify-content: space-between; margin-top: 6px; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.sent { display: grid; gap: 12px; margin-top: 10px; padding: 22px; background: var(--linen); }
.sent[hidden] { display: none; }
.sent p { margin: 0; font-size: 14px; color: var(--ink); }
.sent .addr { font-family: var(--serif); font-size: 21px; user-select: all; }
.sent .row { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-btn { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 10px 14px; border: 1px solid var(--ink); }
.copy-btn:hover { background: var(--plum); color: var(--cream-on-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }

/* ---------- reveal ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(26px); }
.hero .reveal { transition-duration: 1.2s; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .24s; }
.hero .reveal:nth-child(4) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .themes-intro { grid-column: 1 / -1; padding-right: 0; margin-bottom: 10px; }
  .themes-intro .body { max-width: 52ch; }
  .texture-grid { grid-template-columns: 1fr 1fr; }
  .texture-text { grid-column: 1 / -1; margin-bottom: 20px; }
  .texture-img.t2 { margin-top: 60px; }
  .promises-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .promise:nth-child(3) { border-left: 0; padding-left: 0; }
  .commission-grid { grid-template-columns: 1fr 1fr; }
  .commission-quote { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: auto 1fr; }
  .news-form { grid-column: 1 / -1; }
  .footer-art { width: 100%; height: 220px; inset: 0 0 auto 0; }
  .footer-art::after { background: linear-gradient(180deg, rgba(239, 233, 224, 0) 20%, #efe9e0 100%); }
  .footer-inner, .footer-bottom { margin-left: 0; }
  .footer-inner { padding-top: 190px; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    background: var(--ivory); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-links a { font-family: var(--serif); font-size: 34px; letter-spacing: .02em; text-transform: none; }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav.open { color: var(--ink); }
  .burger { display: block; }
  .nav-icons a[aria-label="Contact"] { display: none; }

}

@media (max-width: 860px) {
  .feature-grid, .about-grid, .modal-box { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 4 / 4.2; }
  .trio-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-col:nth-child(2) { border-left: 0; padding-left: 0; }
  .room { min-height: auto; flex-direction: column; align-items: stretch; }
  .room-bg { position: relative; height: 56vw; min-height: 300px; top: 0; transform: none !important; }
  .room-shade { display: none; }
  .room-inner { padding-top: 0; padding-bottom: 0; }
  .room-right .room-inner { align-items: stretch; }
  .room-card { max-width: none; margin: -60px 0 0; background: var(--paper); backdrop-filter: none; }
  .room-caption { position: static; order: -1; color: var(--muted); text-shadow: none; padding: 14px 0 0; display: none; }
  .modal-img img { max-height: 55vh; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .logo-name { font-size: 20px; }
  .logo-sub { font-size: 8.5px; letter-spacing: .42em; }
  .hero { align-items: flex-end; }
  .hero-img { object-position: 76% 25%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(38, 28, 44, .94) 0%, rgba(38, 28, 44, .78) 42%, rgba(38, 28, 44, .2) 66%, rgba(38, 28, 44, 0) 75%),
      linear-gradient(180deg, rgba(38, 28, 44, .45) 0%, rgba(38, 28, 44, 0) 20%);
  }
  .hero-inner { padding-bottom: 120px; }
  .hero-text { font-size: 15px; margin-bottom: 28px; }
  .hero-index { display: none; }
  .hero-foot { justify-content: flex-start; }
  .themes-grid { gap: 12px; }
  .theme-label { left: 12px; bottom: 12px; gap: 8px; font-size: 10px; letter-spacing: .14em; }
  .theme-label svg { width: 22px; height: 22px; }
  .trio-grid, .works-grid { grid-template-columns: 1fr; }
  .texture-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .texture-img.t2 { margin-top: 40px; }
  .promises-grid { grid-template-columns: 1fr; }
  .promise { border-left: 0; padding-left: 0; }
  .commission-grid { grid-template-columns: 1fr; }
  .commission-img { aspect-ratio: 1 / 1; }
  .news-grid { grid-template-columns: 1fr; }
  .news-icon { display: none; }
  .news-form button { padding: 0 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col { border-left: 0; padding: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom::before { display: none; }
  .btn { padding: 15px 18px 15px 20px; letter-spacing: .16em; }
}
