/* ============================================================
   THARA INFRA — Brand Stylesheet
   Palette: Burnt Orange #DD7833 · Soft Orange #EDBE99
            Warm Ivory #FAF4EF · Charcoal #2D2D2D · Terracotta #B85D1F
   Type:    Playfair Display (display) · Montserrat (UI/body)
   ============================================================ */

:root {
  --ivory: #FAF4EF;
  --cream: #FFFBF7;
  --sand: #F4E7DA;
  --peach: #EDBE99;
  --peach-soft: #F6DfCB;
  --orange: #DD7833;
  --terra: #B85D1F;
  --terra-dark: #9C4B15;
  --ink: #2D2D2D;
  --ink-2: #5A524B;
  --ink-3: #8A8078;
  --line: rgba(184, 93, 31, 0.16);
  --line-soft: rgba(184, 93, 31, 0.10);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --shadow-sm: 0 6px 18px -8px rgba(154, 89, 40, 0.18);
  --shadow-md: 0 18px 40px -18px rgba(154, 89, 40, 0.28);
  --shadow-lg: 0 30px 60px -25px rgba(122, 66, 24, 0.35);
  --radius: 18px;
  --radius-lg: 26px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--terra); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--terra-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
}

::selection { background: var(--peach); color: var(--ink); }

.container { width: min(1180px, 92%); margin-inline: auto; }

section { position: relative; }

.sec { padding: 104px 0; }
.sec-tight { padding: 84px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.sec-head { max-width: 700px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.sec-head .lede { font-size: 1.02rem; color: var(--ink-2); }

.hl { color: var(--terra); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }

.btn-primary { background: var(--terra); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terra-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { border-color: rgba(184, 93, 31, .45); color: var(--terra); background: transparent; }
.btn-ghost:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-2px); }

.btn-light { background: var(--ivory); color: var(--terra-dark); }
.btn-light:hover { background: #fff; color: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.35); }

.btn-sm { padding: 12px 24px; font-size: .7rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
}
.text-link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.text-link:hover svg { transform: translateX(5px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(237, 190, 153, .38);
  color: var(--terra-dark);
}
.chip-solid { background: var(--terra); color: #fff; }
.chip-soon { background: rgba(45, 45, 45, .06); color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 244, 239, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(122, 66, 24, .35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}

.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; }
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  /* the extracted lockup carries its own padding, so trim optical slack.
     .brand keeps min-height:44px so the negative margin can't shrink the tap target. */
  margin: -4px 0;
}
.brand-mark { width: 46px; height: 30px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.72rem;
  color: var(--terra);
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .5em;
  margin-right: -.5em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin-top: 5px;
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  position: relative;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%) scale(0);
  transition: transform .25s ease;
}
.site-nav a:hover { color: var(--terra); }
.site-nav a.active { color: var(--terra); }
.site-nav a.active::after, .site-nav a:hover::after { transform: translateX(-50%) scale(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 190, 153, .5), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  padding: 84px 0 96px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 26px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
  font-size: clamp(2.45rem, 4.9vw, 3.85rem);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-lede { font-size: 1.05rem; max-width: 540px; margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-points svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

.hero-art { position: relative; }
.art-frame {
  position: relative;
  border-radius: 300px 300px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--cream);
  background: var(--cream);
}
.art-frame svg { width: 100%; height: auto; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: -26px -26px auto auto;
  width: 130px; height: 130px;
  border: 2px dashed rgba(221, 120, 51, .5);
  border-radius: 50%;
  z-index: -1;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255, 251, 247, .96);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(237, 190, 153, .45);
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .fc-icon svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.float-card span { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fc1 { top: 13%; left: -46px; animation-delay: .4s; }
.fc2 { bottom: 7%; right: -34px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--sand); border-block: 1px solid var(--line-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 54px 0;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -15px; top: 50%;
  transform: translateY(-50%);
  height: 56px; width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
}
.stat-num sup { font-size: .55em; color: var(--orange); }
.stat-label {
  margin-top: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-media { position: relative; }
.split-media .media-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--cream);
}
.split-media .media-box svg { width: 100%; height: auto; }
.split-media::after {
  content: "";
  position: absolute;
  inset: auto auto -30px -30px;
  width: 150px; height: 150px;
  background:
    radial-gradient(circle at 2px 2px, rgba(221, 120, 51, .55) 2px, transparent 2.6px);
  background-size: 17px 17px;
  z-index: -1;
  border-radius: 20px;
}
.split-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 20px; }
.split-copy p { margin-bottom: 18px; }

.tagline-card {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  padding: 18px 24px;
}
.tagline-card svg { width: 34px; height: 22px; flex: none; }
.tagline-card p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink);
}

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--peach));
  opacity: 0;
  transition: opacity .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card:hover::before { opacity: 1; }

.icon-tile {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(237, 190, 153, .42);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--terra);
}
.icon-tile svg { width: 27px; height: 27px; }

.card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.card p { font-size: .93rem; }
.card .text-link { margin-top: 18px; }

.card-list { margin-top: 14px; display: grid; gap: 9px; }
.card-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .9rem;
}
.card-list li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-2px);
}

/* ---------- Dark band (expertise) ---------- */
.dark-band {
  background: linear-gradient(130deg, #2D2D2D 0%, #3D342B 100%);
  color: #CFC7BF;
}
.dark-band .eyebrow { color: var(--peach); }
.dark-band .eyebrow::before, .dark-band .eyebrow-center::after { background: var(--peach); }
.dark-band h2 { color: var(--ivory); }
.dark-band .lede { color: #B8AFA6; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(250, 244, 239, .05);
  border: 1px solid rgba(237, 190, 153, .16);
  border-radius: 14px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ivory);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.check-item:hover { background: rgba(237, 190, 153, .12); border-color: rgba(237, 190, 153, .4); transform: translateY(-3px); }
.check-item .ck {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
}
.check-item .ck svg { width: 16px; height: 16px; }

/* ---------- Process steps ---------- */
.step-card { padding-top: 30px; }
.step-num {
  font-family: var(--serif);
  font-size: 3.1rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .85;
}
.step-card h3 { font-size: 1.22rem; }

/* ---------- Testimonials ---------- */
.testi-band { background: var(--sand); border-block: 1px solid var(--line-soft); }
.testi-card { display: flex; flex-direction: column; }
.testi-quote { width: 40px; height: 32px; color: var(--peach); margin-bottom: 18px; }
.testi-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}
.testi-author {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 13px;
}
.testi-author .ta-badge {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(237, 190, 153, .5);
  color: var(--terra-dark);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  flex: none;
}
.testi-author span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- CTA band ---------- */
.cta-panel {
  background: linear-gradient(120deg, var(--terra) 0%, var(--orange) 100%);
  border-radius: var(--radius-lg);
  padding: 76px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -90px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 40px solid rgba(250, 244, 239, .12);
}
.cta-panel h2 { color: #fff; font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin-bottom: 16px; position: relative; }
.cta-panel p { color: rgba(255, 251, 247, .92); max-width: 560px; margin: 0 auto 34px; position: relative; }
.cta-panel .btn { position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 85% -40%, rgba(237, 190, 153, .55), transparent 55%),
    var(--ivory);
  border-bottom: 1px solid var(--line-soft);
  padding: 84px 0 70px;
  overflow: hidden;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 4%; bottom: -34px;
  width: 210px; height: 210px;
  background: radial-gradient(circle at 2px 2px, rgba(221, 120, 51, .4) 2px, transparent 2.6px);
  background-size: 19px 19px;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin-bottom: 18px; max-width: 800px; }
.page-hero .lede { max-width: 640px; font-size: 1.03rem; }
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.crumbs a { color: var(--terra); }
.crumbs span.sep { color: var(--peach); }

/* ---------- Vision / Mission ---------- */
.vm-card { padding: 44px 40px; }
.vm-card .icon-tile { margin-bottom: 20px; }

.value-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 16px 26px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.value-pill svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Why choose us ---------- */
.why-item {
  display: flex;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}
.why-item:last-child { border-bottom: 0; }
.why-item .icon-tile { width: 52px; height: 52px; margin: 0; flex: none; border-radius: 14px; }
.why-item .icon-tile svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-item p { font-size: .93rem; }

/* ---------- Project type tiles ---------- */
.type-tile {
  text-align: center;
  padding: 40px 26px;
}
.type-tile .icon-tile { margin-inline: auto; }
.type-tile h3 { font-size: 1.15rem; }
.type-tile p { font-size: .87rem; }

/* ---------- Projects ---------- */
.project-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}
.project-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-media svg { transform: scale(1.045); }
.project-media .chip {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255, 251, 247, .92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.project-media .chip.chip-solid { background: var(--terra); }

.project-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.42rem; margin-bottom: 10px; }
.project-loc {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.project-loc svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 3px; }
.project-desc { font-size: .9rem; margin-bottom: 16px; }

.project-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fact {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--terra-dark);
  background: rgba(237, 190, 153, .32);
  border-radius: 8px;
  padding: 6px 11px;
}

.project-actions {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.rera { font-size: .66rem; letter-spacing: .05em; color: var(--ink-3); margin-top: 14px; }

.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.soon-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border: 1px dashed rgba(184, 93, 31, .4);
  border-radius: 14px;
  padding: 16px 22px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  margin: -26px 0 46px;
}
.soon-note svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

.portfolio-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, var(--terra), var(--orange));
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.portfolio-tile:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.portfolio-tile::after {
  content: "";
  position: absolute;
  right: -50px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 28px solid rgba(250, 244, 239, .14);
}
.portfolio-tile h3 { color: #fff; font-size: 1.7rem; }
.portfolio-tile p { color: rgba(255, 251, 247, .9); font-size: .92rem; }
.portfolio-tile .text-link { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.info-stack { display: grid; gap: 18px; }
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 24px 26px;
}
.info-card .icon-tile { width: 48px; height: 48px; margin: 0; flex: none; border-radius: 13px; }
.info-card .icon-tile svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p { font-size: .9rem; }
.info-card a { font-weight: 600; }

.form-panel {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 46px;
  box-shadow: var(--shadow-md);
}
.form-panel h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form-panel > p { font-size: .9rem; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(221, 120, 51, .14);
}
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terra); }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform .3s ease;
  flex: none;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 26px; max-width: 700px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2D2D2D;
  color: #B8AFA6;
  padding: 78px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { color: var(--peach); }
.footer-brand .brand-sub { color: var(--orange); }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ivory);
  font-size: 1.02rem;
  margin: 22px 0 14px;
}
.footer-brand p { font-size: .87rem; }

.footer-col h4 {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: #B8AFA6; font-size: .89rem; }
.footer-col a:hover { color: var(--peach); }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .89rem;
}
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(237, 190, 153, .14);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: #8A8078;
}


/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .4s; }
.d6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Real-photo slots ----------
   A container tagged data-photo keeps its SVG artwork until a matching photo
   loads; then .has-photo hides the art and the photo fills the same box, so the
   layout never shifts and nothing breaks while photos are still missing. */
.slot-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.has-photo > svg[data-replaced] { display: none; }

/* project cards: keep the established 8:5 media ratio */
.project-media.has-photo { position: relative; }
.project-media.has-photo .slot-photo { aspect-ratio: 8 / 5; }

/* hero + split blocks inherit the frame's rounding */
.art-frame.has-photo .slot-photo,
.split-media.has-photo .slot-photo {
  border-radius: inherit;
}
.art-frame.has-photo .slot-photo { aspect-ratio: 7 / 8; }
.split-media.has-photo .slot-photo { aspect-ratio: 6 / 5; }

/* chips must stay above a photo */
.project-media.has-photo .chip { position: absolute; z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 44px; }
  .fc1 { left: -14px; }
  .fc2 { right: -10px; }
  .grid-3, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .sec { padding: 84px 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 68px; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .split, .contact-grid, .featured-grid { grid-template-columns: 1fr; }
  .split { gap: 52px; }
  .split-media { max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stat + .stat::before { display: none; }

  /* The header uses backdrop-filter, which makes it the containing block for
     position:fixed descendants — that collapsed this menu to the header's height.
     Dropping the blur while the menu is open hands the viewport back as the
     containing block; the explicit dvh height is a belt-and-braces fallback and
     also absorbs mobile URL-bar resizing. */
  body.nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* ---- full-screen mobile menu: scrollable, generous tap rows ---- */
  .site-nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--ivory);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: calc(84px + env(safe-area-inset-top)) 22px calc(30px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-102%);
    transition: transform .45s cubic-bezier(.7, 0, .25, 1);
    z-index: 100;
  }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 60px;              /* comfortable thumb target */
    padding: 10px 6px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav a::after { display: none; }   /* dot indicator reads as dirt at this size */
  .site-nav a.active { color: var(--terra); }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }     /* stop background scroll behind menu */

  .nav-toggle {
    display: flex;
    width: 44px; height: 44px;            /* was 42x36 — under the 44px minimum */
    align-items: center;
    justify-content: center;
  }
  .header-cta { display: none; }
  .brand-logo { height: 44px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }               /* 15px was too small to read comfortably */
  .sec { padding: 60px 0; }
  .container { width: min(100%, 100% - 36px); }

  .grid-3, .grid-2, .projects-grid { grid-template-columns: 1fr; }
  .values-grid, .check-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 30px 16px; }

  .brand-logo { height: 40px; }

  /* hero: tighter, and CTAs become full-width stacked buttons */
  .hero-inner { padding: 40px 0 56px; gap: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-lede { font-size: 1rem; }

  /* floating stat cards were hanging off the screen edge — bring them inside */
  .float-card {
    padding: 10px 14px;
    gap: 10px;
    border-radius: 14px;
    max-width: calc(100% - 24px);
  }
  .float-card .fc-icon { width: 34px; height: 34px; border-radius: 10px; }
  .float-card .fc-icon svg { width: 18px; height: 18px; }
  .float-card strong { font-size: 1rem; }
  .float-card span { font-size: .6rem; letter-spacing: .08em; }
  .fc1 { top: 4%; left: 10px; }
  .fc2 { bottom: 4%; right: 10px; }

  .cta-panel { padding: 48px 22px; }
  .form-panel { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .art-frame { border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .page-hero { padding: 54px 0 46px; }

  /* every inline/footer/breadcrumb link gets a real tap target */
  .footer-col a,
  .footer-links a,
  .crumbs a,
  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .crumbs { flex-wrap: wrap; row-gap: 0; }

  /* 16px minimum stops iOS auto-zooming the form on focus.
     Needs to match .field's specificity to win the cascade. */
  input, select, textarea,
  .field input, .field select, .field textarea { font-size: 16px; }

  /* Inline links sitting mid-sentence (email/phone in prose) can't become
     44px blocks without breaking the line box — vertical padding grows the
     touch area instead, leaving the text flow intact. */
  p a[href^="mailto:"], p a[href^="tel:"],
  .form-note a, .contact-line a {
    padding-block: 12px;
  }

  /* buttons comfortable to hit */
  .btn { min-height: 48px; }
  .btn-sm { min-height: 44px; }
}

@media (max-width: 380px) {
  .sec { padding: 52px 0; }
  .brand-logo { height: 36px; }
  .float-card { display: none; }          /* genuinely no room left at this width */
  .cta-panel { padding: 40px 18px; }
}

/* respect the notch / home indicator */
@supports (padding: env(safe-area-inset-left)) {
  @media (max-width: 620px) {
    .container {
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
    }
    .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  }
}
