/* ==========================================================================
   ATELIER STEN — Premium interior & renovation studio
   Design system: Luxury Minimalism / Editorial Interior
   ========================================================================== */

:root {
  /* Palette */
  --c-ivory: #f7f4ef;
  --c-stone: #efeae2;
  --c-bg: #f9f7f3;
  --c-white: #ffffff;
  --c-charcoal: #23211d;
  --c-graphite: #35332e;
  --c-taupe: #4a443c;
  --c-warm-gray: #d2cac0;
  --c-line: #ddd6ca;
  --c-bronze: #a9773f;
  --c-bronze-dark: #8a5f30;
  --c-bronze-bright: #d4a05a;
  --c-olive: #565a44;

  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1360px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  cursor: auto;
}

section[id],
article[id],
#privacy {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-charcoal);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.2;
}

p {
  line-height: 1.7;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

input,
textarea,
select {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--c-bronze);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

section {
  position: relative;
}

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-taupe);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-bronze);
  display: inline-block;
}

.h-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.16;
  max-width: 22ch;
  letter-spacing: -0.01em;
}

.section-lede {
  max-width: 38ch;
  color: var(--c-taupe);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2.1rem;
  background: var(--c-charcoal);
  color: var(--c-ivory);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  border-radius: 2px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--c-bronze-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--c-charcoal);
  border: 1px solid var(--c-charcoal);
}

.btn-outline:hover {
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.btn-ghost-light {
  background: transparent;
  color: var(--c-ivory);
  border: 1px solid rgba(247, 244, 239, 0.55);
}

.btn-ghost-light:hover {
  background: var(--c-ivory);
  color: var(--c-charcoal);
  border-color: var(--c-ivory);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding-bottom: 3px;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  opacity: 0.4;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.link-arrow:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.link-arrow svg {
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-img {
  overflow: hidden;
}

.reveal-img img {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease);
}

.reveal-img.is-visible img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-img img {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header,
.site-header a,
.site-header button {
  color: var(--c-ivory);
}

.site-header.is-solid {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--c-line);
}

.site-header.is-solid,
.site-header.is-solid a,
.site-header.is-solid button {
  color: var(--c-charcoal);
}

body.menu-open .site-header {
  background: var(--c-ivory);
  color: var(--c-charcoal);
}
body.menu-open .site-header a,
body.menu-open .site-header button {
  color: var(--c-charcoal);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
  margin-top: 0.35rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.4rem);
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-phone svg {
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 0.85rem 1.5rem;
}

.site-header .btn-outline {
  border-color: currentColor;
}

.site-header.is-solid .btn-outline:hover,
body.menu-open .site-header .btn-outline:hover {
  color: var(--c-ivory);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 24px;
  z-index: 200;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-ivory);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(1.5rem, 8vw, 5rem);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  visibility: hidden;
}

body.menu-open .mobile-nav {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--c-line);
}

.mobile-nav-foot {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .header-actions .btn-outline,
  .header-actions .header-phone {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--c-ivory);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 16s var(--ease) forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.46) 38%, rgba(12, 10, 8, 0.4) 100%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.72) 0%, rgba(12, 10, 8, 0.32) 36%, rgba(12, 10, 8, 0.28) 52%, rgba(12, 10, 8, 0.86) 100%);
}

.hero-tag {
  position: absolute;
  top: 7.5rem;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-tag .container {
  text-align: right;
}

.hero-tag strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(3.6rem, 8vw, 5.5rem);
}

.hero-index {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.4rem;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.hero-index::after {
  content: "";
  width: 60px;
  height: 1px;
  background: rgba(247, 244, 239, 0.5);
}

h1.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 0.96;
  max-width: 17ch;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(247, 244, 239, 0.28);
  padding-top: 1.8rem;
}

.hero-lede {
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 1;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: clamp(1.2rem, 3vw, 1.8rem);
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-scroll .container {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: rgba(247, 244, 239, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-ivory);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

@media (max-width: 700px) {
  .hero-tag {
    display: none;
  }
}

@media (max-height: 700px) {
  .hero-scroll {
    display: none;
  }
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */

.marquee-strip {
  background: var(--c-charcoal);
  color: var(--c-ivory);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  padding: 0 2.2rem;
  white-space: nowrap;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
}

.marquee-track span::after {
  content: "—";
  font-style: normal;
  opacity: 0.4;
}

/* ==========================================================================
   About / editorial
   ========================================================================== */

.about {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.about-copy {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: var(--c-graphite);
  max-width: 46ch;
  line-height: 1.7;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: clamp(320px, 40vw, 560px);
  object-fit: cover;
}

.about-media figcaption {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--c-ivory);
  padding: 1rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--c-taupe);
  border: 1px solid var(--c-line);
}

.stats-row {
  --stat-gap: clamp(2.4rem, 4.5vw, 4rem);
  margin-top: clamp(3.5rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--stat-gap);
  border-top: 1px solid var(--c-line);
}

.stat {
  padding: 2.4rem 0 0.2rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.4rem;
  bottom: 0.15rem;
  right: calc(var(--stat-gap) / -2);
  width: 1px;
  background: var(--c-line);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--c-bronze-dark);
  line-height: 1;
}

.stat-label {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: var(--c-taupe);
  max-width: 18ch;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0;
  }
  .stat {
    padding: 1.8rem 0 1.5rem;
  }
  .stat:nth-child(even)::after {
    display: none;
  }
  .stat:not(:nth-last-child(-n + 2)) {
    border-bottom: 1px solid var(--c-line);
  }
  .stat:nth-last-child(-n + 2) {
    padding-bottom: 0.2rem;
  }
}

/* ==========================================================================
   Portfolio — editorial masonry
   ========================================================================== */

.portfolio {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-stone);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, 11vw);
  gap: 1.15rem;
}

.proj {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 0;
}

.portfolio-grid .proj {
  height: 100%;
}

.proj-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.proj-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.proj:hover .proj-frame img {
  transform: scale(1.07);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 15, 0) 40%, rgba(20, 18, 15, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.proj:hover .proj-overlay {
  opacity: 1;
}

.proj-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem;
  color: var(--c-ivory);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.proj:hover .proj-info {
  transform: translateY(0);
  opacity: 1;
}

.proj-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.proj-info p {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

.proj-info .link-arrow {
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (hover: none) {
  .proj-overlay {
    opacity: 1;
  }
  .proj-info {
    transform: none;
    opacity: 1;
  }
}

.proj-tag {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ivory);
  background: rgba(35, 33, 29, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.8rem;
}

.proj-1 { grid-column: 1 / 8; grid-row: span 4; }
.proj-2 { grid-column: 8 / 13; grid-row: span 4; }
.proj-3 { grid-column: 1 / 5; grid-row: span 3; }
.proj-4 { grid-column: 5 / 9; grid-row: span 3; }
.proj-5 { grid-column: 9 / 13; grid-row: span 3; }
.proj-6 { grid-column: 1 / 7; grid-row: span 3; }
.proj-7 { grid-column: 7 / 13; grid-row: span 3; }
.proj-8 { grid-column: 1 / 13; grid-row: span 3; }

.portfolio-foot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

.portfolio-foot.is-section {
  margin-top: 0;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

@media (max-width: 980px) {
  .portfolio-grid {
    grid-auto-rows: minmax(140px, 18vw);
  }
  .proj-1, .proj-2, .proj-3, .proj-4, .proj-5, .proj-6, .proj-7 {
    grid-column: span 6;
    grid-row: span 3;
  }
  .proj-8 {
    grid-column: 1 / -1;
    grid-row: span 3;
  }
}

@media (max-width: 620px) {
  .portfolio-grid {
    gap: 1rem;
    grid-auto-rows: auto;
  }
  .proj-1, .proj-2, .proj-3, .proj-4, .proj-5, .proj-6, .proj-7, .proj-8 {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Case study
   ========================================================================== */

.case {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.case-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.case-slider {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.case-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}

.case-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.case-slide img {
  width: 100%;
  height: clamp(380px, 48vw, 620px);
  object-fit: cover;
  display: block;
}

.case-slider-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.case-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.case-nav-btn:hover {
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.case-dots {
  display: flex;
  gap: 0.45rem;
  margin: 0 0.2rem;
}

.case-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.case-dots button.is-active {
  background: var(--c-bronze-dark);
  transform: scale(1.25);
}

.case-aside {
  min-width: 0;
}

.case-aside .eyebrow {
  margin-bottom: 1.1rem;
}

.case-aside h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

.case-lead {
  margin-top: 0.9rem;
  color: var(--c-taupe);
  font-size: 1.05rem;
  line-height: 1.55;
}

.case-facts {
  margin-top: 2rem;
  border-top: 1px solid var(--c-line);
}

.case-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--c-line);
  gap: 1rem;
}

.case-fact dt {
  color: var(--c-taupe);
  font-size: 0.9rem;
}

.case-fact dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-align: right;
}

.case-aside .btn {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .case-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .case-slide img {
    height: clamp(280px, 62vw, 440px);
  }
  .case-body {
    grid-template-columns: 1fr;
  }
}

.case-main {
  overflow: hidden;
}

.case-main img {
  width: 100%;
  height: clamp(360px, 56vw, 640px);
  object-fit: cover;
}

.case-body {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
}

.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.case-gallery > * {
  overflow: hidden;
  min-height: 0;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.services .section-lede {
  color: var(--c-warm-gray);
}

.services .eyebrow {
  color: var(--c-warm-gray);
}

.service-list {
  border-top: 1px solid rgba(247, 244, 239, 0.18);
}

.service-item {
  border-bottom: 1px solid rgba(247, 244, 239, 0.18);
  position: relative;
}

.service-link {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1.2fr) minmax(14rem, 24rem) 22px;
  align-items: center;
  column-gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.3rem) 0;
  position: relative;
  z-index: 1;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--c-warm-gray);
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 500;
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
  min-width: 0;
}

.service-item:hover .service-name {
  transform: translateX(10px);
  color: var(--c-bronze-bright);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--c-warm-gray);
  line-height: 1.55;
}

.service-arrow {
  justify-self: end;
  transition: transform 0.5s var(--ease);
}

.service-item:hover .service-arrow {
  transform: translateX(6px);
}

.service-thumb {
  display: none !important;
  position: static;
  pointer-events: none;
}

@media (max-width: 760px) {
  .service-link {
    grid-template-columns: 3rem 1fr 22px;
    column-gap: 1rem;
  }
  .service-desc {
    display: none;
  }
}

/* ==========================================================================
   Process timeline
   ========================================================================== */

.process {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.timeline {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--c-line);
}

.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}

.tl-step:first-child {
  padding-top: 0;
}

.tl-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tl-content {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 140px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.tl-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
}

.tl-desc {
  color: var(--c-taupe);
  font-size: 0.95rem;
  max-width: 42ch;
}

.tl-thumb {
  width: 140px;
  height: 96px;
  overflow: hidden;
  justify-self: end;
}

.tl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .tl-content {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .tl-thumb {
    justify-self: start;
    margin-top: 0.8rem;
  }
  .timeline::before {
    left: 34px;
  }
  .tl-step {
    grid-template-columns: 68px 1fr;
  }
  .tl-num {
    width: 68px;
    height: 68px;
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Trust / advantages
   ========================================================================== */

.trust {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-stone);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.trust-card {
  background: var(--c-stone);
  padding: clamp(2rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 260px;
}

.trust-index {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--c-bronze-dark);
}

.trust-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.trust-card p {
  color: var(--c-taupe);
  font-size: 0.94rem;
  margin-top: auto;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Details gallery
   ========================================================================== */

.details {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.detail-item {
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.detail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.d-1 { grid-column: span 3; aspect-ratio: 4/5; }
.d-2 { grid-column: span 3; aspect-ratio: 4/5; }
.d-3 { grid-column: span 2; aspect-ratio: 1/1; }
.d-4 { grid-column: span 2; aspect-ratio: 1/1; }
.d-5 { grid-column: span 2; aspect-ratio: 1/1; }

@media (max-width: 760px) {
  .d-1, .d-2 { grid-column: span 6; }
  .d-3, .d-4, .d-5 { grid-column: span 2; }
}
@media (max-width: 480px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
  .d-1, .d-2, .d-3, .d-4, .d-5 {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Materials
   ========================================================================== */

.materials {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.materials .section-title {
  color: var(--c-ivory);
  margin-top: 1rem;
}

.portfolio.is-plain {
  background: var(--c-bg);
}

.page-hero.is-compact {
  padding-bottom: 2rem;
}

.about.is-flush-top {
  padding-top: 0;
}

.about.is-flush-bottom {
  padding-bottom: 0;
}

.svc-detail.is-last {
  border-bottom: none;
}

.map-wrap {
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid rgba(247, 244, 239, 0.18);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.materials-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(247,244,239,0.12);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.material {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--c-charcoal);
}

.material img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}

.material::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 18, 15, 0.72) 100%);
  pointer-events: none;
}

.material span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--c-ivory);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .materials-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .materials-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Team
   ========================================================================== */

.team {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.member-photo {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6);
}

.member-info {
  margin-top: 1.2rem;
}

.member-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.member-role {
  color: var(--c-bronze-dark);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.member-info p.member-spec {
  color: var(--c-taupe);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-stone);
  overflow: hidden;
}

.test-track-wrap {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.test-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}

.test-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.test-media {
  overflow: hidden;
}

.test-media img {
  width: 100%;
  height: clamp(280px, 34vw, 440px);
  object-fit: cover;
}

.test-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  font-weight: 500;
}

.test-meta {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.test-name {
  font-weight: 700;
}

.test-loc {
  color: var(--c-taupe);
  font-size: 0.9rem;
}

.test-nav {
  display: flex;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.test-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--c-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.test-btn:hover {
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.test-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 0.5rem;
}

.test-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.test-dots button.is-active {
  background: var(--c-bronze-dark);
  transform: scale(1.3);
}

@media (max-width: 820px) {
  .test-slide {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.faq-wrap {
  max-width: none;
}

.faq-item {
  border-bottom: 1px solid var(--c-line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2.5vw, 1.9rem) 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.3;
}

.faq-q .plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--c-charcoal);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.faq-q .plus::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.faq-q .plus::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-q .plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a p {
  padding-bottom: 1.8rem;
  color: var(--c-taupe);
  max-width: 70ch;
  font-size: 0.98rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-intro .section-title {
  color: var(--c-ivory);
}

.contact-intro p {
  color: var(--c-warm-gray);
  margin-top: 1.4rem;
  max-width: 34ch;
}

.contact-note {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--c-warm-gray);
}

.contact-note svg {
  flex-shrink: 0;
  color: var(--c-bronze);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.field {
  margin-bottom: 1.4rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-warm-gray);
  margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.3);
  background: transparent;
  color: var(--c-ivory);
  transition: border-color 0.3s var(--ease);
}

.field select option {
  color: var(--c-charcoal);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-bronze);
}

.field textarea {
  resize: vertical;
  min-height: 70px;
}

.field-radio-group {
  display: flex;
  gap: 1.6rem;
  margin-top: 0.4rem;
}

.field-radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.field-radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--c-bronze);
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.form-foot .btn {
  background: var(--c-bronze-dark);
  color: var(--c-ivory);
}

.form-foot .btn:hover {
  background: var(--c-ivory);
  color: var(--c-charcoal);
}

.form-foot-note {
  font-size: 0.85rem;
  color: var(--c-warm-gray);
}

.form-foot-note a {
  color: inherit;
  text-decoration: underline;
}

.form-success {
  display: none;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(247, 244, 239, 0.3);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

.contact-grid.is-single {
  grid-template-columns: 1fr;
  text-align: center;
}

.contact-grid.is-single .contact-intro {
  max-width: 640px;
  margin: 0 auto;
}

.contact-grid.is-single .section-title,
.contact-grid.is-single p {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid.is-single .eyebrow {
  justify-content: center;
}

.contact-grid.is-single .btn {
  margin-top: 2rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--c-charcoal);
  color: var(--c-ivory);
  padding-top: clamp(4rem, 8vw, 6rem);
}

.footer-cta {
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(247, 244, 239, 0.15);
}

.footer-cta p {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  font-weight: 500;
  max-width: 24ch;
  line-height: 1.2;
}

.footer-main {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(247, 244, 239, 0.15);
}

.footer-brand .logo span {
  opacity: 0.75;
}

.footer-brand p {
  margin-top: 1.2rem;
  color: var(--c-warm-gray);
  font-size: 0.92rem;
  max-width: 30ch;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-warm-gray);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--c-bronze-bright);
}

.footer-col .icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-col .icon-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-bottom {
  padding: 1.6rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--c-warm-gray);
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 244, 239, 0.22);
  color: var(--c-ivory);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-socials a:hover {
  background: var(--c-ivory);
  color: var(--c-charcoal);
  border-color: var(--c-ivory);
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--c-stone);
}

.page-hero .eyebrow {
  margin-bottom: 1.4rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  max-width: 22ch;
  line-height: 1.16;
}

.page-hero p {
  margin-top: 1.4rem;
  max-width: 50ch;
  color: var(--c-taupe);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Simple content page grid used by services/about/contacts pages */
.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.privacy-block {
  padding: clamp(4rem, 8vw, 6rem) 0;
  max-width: 72ch;
}

.privacy-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 1.2rem 0;
}

.privacy-block p {
  color: var(--c-graphite);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.contact-info-card .card-icon {
  width: 22px;
  height: 22px;
  color: var(--c-bronze-dark);
  margin-bottom: 0.9rem;
}

.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--c-taupe);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--c-bronze-dark);
}

@media (max-width: 860px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.svc-detail {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--c-line);
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.svc-detail:nth-child(even) .svc-detail-grid {
  direction: rtl;
}

.svc-detail:nth-child(even) .svc-detail-grid > * {
  direction: ltr;
}

.svc-detail-media {
  overflow: hidden;
}

.svc-detail-media img {
  width: 100%;
  height: clamp(280px, 34vw, 460px);
  object-fit: cover;
}

.svc-detail h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.svc-num {
  font-family: var(--font-serif);
  color: var(--c-bronze-dark);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: block;
}

.svc-detail ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.svc-detail ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--c-graphite);
  line-height: 1.55;
}

.svc-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--c-bronze);
}

@media (max-width: 860px) {
  .svc-detail-grid,
  .svc-detail:nth-child(even) .svc-detail-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .simple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .simple-grid { grid-template-columns: 1fr; }
}

/* Sticky CTA dock */
.cta-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 85;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cta-item {
  position: relative;
}

.cta-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-ivory);
  color: var(--c-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(35, 33, 29, 0.22);
  border: 1px solid var(--c-line);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
  cursor: pointer;
}

.cta-btn:hover,
.cta-item.is-open .cta-btn {
  background: var(--c-charcoal);
  color: var(--c-ivory);
  border-color: var(--c-charcoal);
  transform: translateY(-2px);
}

.cta-btn::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--c-charcoal);
  color: var(--c-ivory);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta-btn:hover::before {
  opacity: 1;
  transform: translateY(-50%);
}

.cta-btn-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.cta-btn-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.cta-panel {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: 250px;
  background: var(--c-ivory);
  color: var(--c-charcoal);
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--c-line);
  box-shadow: 0 16px 40px rgba(35, 33, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  pointer-events: none;
}

.cta-item.is-open .cta-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.cta-panel strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.cta-panel a {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--c-line);
  transition: color 0.3s var(--ease);
}

.cta-panel a svg {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--c-bronze-dark);
}

.cta-panel a:last-child {
  border-bottom: none;
}

.cta-panel a:hover {
  color: var(--c-bronze-dark);
}

.cta-panel a > span {
  display: block;
  min-width: 0;
  font-size: 0.92rem;
  color: inherit;
}

.cta-panel a > span span {
  display: block;
  font-size: 0.78rem;
  color: var(--c-taupe);
}

body.menu-open .cta-dock {
  opacity: 0;
  pointer-events: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(35, 33, 29, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--c-ivory);
  color: var(--c-charcoal);
  width: min(100%, 440px);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  position: relative;
  box-shadow: 0 24px 60px rgba(20, 18, 15, 0.28);
}

.modal h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.modal > p {
  color: var(--c-taupe);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.modal .field label {
  color: var(--c-taupe);
}

.modal .field input {
  color: var(--c-charcoal);
  border-bottom-color: var(--c-line);
}

.modal .field input:focus {
  border-bottom-color: var(--c-bronze-dark);
}

.modal .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-charcoal);
  cursor: pointer;
}

.modal-success {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--c-graphite);
}

.modal-success.is-visible {
  display: block;
}

@media (max-width: 720px) {
  .cta-btn {
    width: 48px;
    height: 48px;
  }
  .cta-btn::before {
    display: none;
  }
  .cta-panel {
    right: 0;
    bottom: calc(100% + 10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn,
  .cta-panel,
  .modal-overlay {
    transition: none;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-ivory);
  color: var(--c-charcoal);
  padding: 1rem 1.4rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
