/* ==========================================================================
   Phil.contact — Philip Emanuele
   Design tokens
   ========================================================================== */

:root {
  --ink:        #0C1114;
  --ink-deep:   #080C0E;
  --ink-2:      #131B20;
  --ink-3:      #1B252B;
  --paper:      #F6F8F7;
  --paper-2:    #ECF1EF;
  --white:      #FFFFFF;

  --text:       #10171B;
  --text-soft:  #4B5A61;
  --muted:      #6C7C83;
  --on-dark:    #EEF3F1;
  --on-dark-soft: #A9B8BD;
  --on-dark-mute: #7C8A90;

  --mint:       #2ED8A0;
  --mint-deep:  #0F9C72;
  --mint-ink:   #0A6A4E;
  --mint-soft:  #E3F7EF;

  --line:       #DDE5E2;
  --line-dark:  rgba(255,255,255,.11);

  --radius-s:   10px;
  --radius:     16px;
  --radius-l:   24px;

  --shadow-s:   0 1px 2px rgba(12,17,20,.06), 0 4px 14px rgba(12,17,20,.05);
  --shadow-m:   0 2px 6px rgba(12,17,20,.06), 0 18px 44px rgba(12,17,20,.09);
  --shadow-l:   0 30px 80px rgba(12,17,20,.20);

  --sp-section: clamp(4.5rem, 9vw, 8rem);
  --wrap:       1160px;
  --header-h:   68px;

  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

* { margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 600;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--mint-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.section { padding-block: var(--sp-section); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint-ink);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.eyebrow--center { justify-content: center; }
.eyebrow--dark { color: var(--mint); }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.section-lede {
  margin-top: 1.1rem;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--text-soft);
  max-width: 40rem;
}

.section-head--center .section-lede { margin-inline: auto; }

.serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   Claim banner — own row at the very top of the document flow
   ========================================================================== */

.claim-bar {
  position: relative;
  z-index: 60;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--line-dark);
  padding: .5rem clamp(1rem, 4vw, 2.5rem);
  text-align: center;
}

.claim-bar p {
  font-size: .74rem;
  line-height: 1.5;
  letter-spacing: .012em;
  color: var(--on-dark-mute);
}

.claim-bar a {
  color: var(--on-dark-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color .2s var(--ease);
}

.claim-bar a:hover { color: var(--mint); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,17,20,.93);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--mint) 0%, var(--mint-deep) 100%);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

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

.nav-desktop a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.nav-desktop a:hover { color: var(--mint); }

.header-cta { display: flex; align-items: center; gap: .6rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}

.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--mint);
  color: #06231A;
  box-shadow: 0 6px 22px rgba(46,216,160,.28);
}

.btn-primary:hover {
  background: #46e5b0;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(46,216,160,.34);
}

.btn-ink {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-ink:hover { background: var(--ink-3); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--line-dark);
  color: var(--on-dark);
  background: rgba(255,255,255,.04);
}

.btn-outline:hover { border-color: var(--mint); color: var(--mint); }

.btn-quiet {
  border-color: var(--line);
  color: var(--text);
  background: var(--white);
}

.btn-quiet:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

/* ==========================================================================
   Mobile nav — CSS only via <details>
   ========================================================================== */

.nav-mobile { display: none; position: relative; }

.nav-mobile > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--on-dark);
  cursor: pointer;
  user-select: none;
}

.nav-mobile > summary::-webkit-details-marker { display: none; }

.burger { display: grid; gap: 3px; width: 15px; }
.burger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-mobile[open] .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-mobile[open] .burger span:nth-child(2) { opacity: 0; }
.nav-mobile[open] .burger span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.nav-drop {
  position: absolute;
  right: 0;
  top: calc(100% + .7rem);
  min-width: 15rem;
  display: flex;
  flex-direction: column;
  padding: .6rem;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
}

.nav-drop a:not(.btn) {
  padding: .68rem .8rem;
  border-radius: var(--radius-s);
  font-size: .95rem;
  font-weight: 500;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

.nav-drop a:not(.btn):hover { background: rgba(255,255,255,.06); color: var(--mint); }

.nav-drop .btn { margin-top: .45rem; }

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

.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 46rem; height: 46rem;
  top: -22rem; right: -14rem;
  background: radial-gradient(circle, rgba(46,216,160,.16) 0%, rgba(46,216,160,0) 62%);
}

.hero::after {
  width: 34rem; height: 34rem;
  bottom: -20rem; left: -12rem;
  background: radial-gradient(circle, rgba(46,216,160,.09) 0%, rgba(46,216,160,0) 65%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem .85rem .38rem .7rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--on-dark-soft);
  margin-bottom: 1.5rem;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(46,216,160,.18);
}

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  letter-spacing: -.035em;
  line-height: 1.02;
}

.hero-role {
  margin-top: 1.15rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--on-dark);
}

.hero-role .accent { color: var(--mint); }

.hero-lede {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.55vw, 1.1rem);
  color: var(--on-dark-soft);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

/* Portrait */

.hero-portrait { position: relative; justify-self: center; width: 100%; max-width: 24rem; }

.hero-portrait img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  border-radius: var(--radius-l);
  filter: saturate(.96) contrast(1.03);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(46,216,160,.4);
  border-radius: var(--radius-l);
  z-index: -1;
}

.portrait-badge {
  position: absolute;
  left: -1rem;
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .95rem;
  background: rgba(19,27,32,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: var(--shadow-l);
}

.portrait-badge .badge-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(46,216,160,.14);
  color: var(--mint);
}

.portrait-badge .badge-mark svg { width: 16px; height: 16px; }

.badge-label { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); }
.badge-value { display: block; font-size: .88rem; font-weight: 600; color: var(--on-dark); line-height: 1.3; }

/* Hero facts strip */

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  background: var(--ink);
  padding: 1.25rem 1.4rem;
}

.fact dt {
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: .35rem;
}

.fact dd { font-size: 1.02rem; font-weight: 600; color: var(--on-dark); }

/* ==========================================================================
   Quick-contact tiles
   ========================================================================== */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.tile {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.05rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-s);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--mint-deep);
  box-shadow: var(--shadow-m);
}

.tile-icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.tile-icon svg { width: 18px; height: 18px; }

.tile-label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.tile-value {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  word-break: break-word;
}


/* ==========================================================================
   Service cards
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.1rem;
}

.card {
  position: relative;
  padding: 1.9rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #C6D6D0;
  box-shadow: var(--shadow-m);
}

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--mint);
  margin-bottom: 1.35rem;
  transition: background-color .25s var(--ease);
}

.card-icon svg { width: 20px; height: 20px; }
.card:hover .card-icon { background: var(--mint-ink); color: var(--white); }

.card h3 { font-size: 1.14rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--text-soft); }

/* ==========================================================================
   Ventures
   ========================================================================== */

.venture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}

.venture-media { position: relative; min-height: 22rem; }

.venture-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.venture-tag {
  position: absolute;
  left: 1.25rem; top: 1.25rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(12,17,20,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--on-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.venture-body { padding: clamp(1.9rem, 3.6vw, 3rem); }

.venture-name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -.03em;
}

.venture-role {
  margin-top: .5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint-ink);
}

.venture-body p { margin-top: 1.1rem; color: var(--text-soft); font-size: .98rem; }

.ticks { list-style: none; display: grid; gap: .55rem; margin-top: 1.5rem; }

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .94rem;
  color: var(--text);
}

.ticks li svg { width: 17px; height: 17px; flex: none; margin-top: .3rem; color: var(--mint-deep); }

.venture-body .btn { margin-top: 1.8rem; }

.track {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.track h3 {
  font-size: .74rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .55rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
}

.chip span { font-size: .78rem; color: var(--muted); }

/* ==========================================================================
   Proof band
   ========================================================================== */

.band {
  position: relative;
  color: var(--on-dark);
  background: var(--ink);
  padding-block: var(--sp-section);
  overflow: hidden;
}

.band-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .28;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,17,20,.94) 0%, rgba(12,17,20,.80) 45%, rgba(12,17,20,.96) 100%);
}

.band > .wrap { position: relative; z-index: 2; }

.band .section-title { color: var(--on-dark); }
.band .section-lede { color: var(--on-dark-soft); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.stat-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: normal;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--mint);
}

.stat-label {
  margin-top: .7rem;
  font-size: .88rem;
  color: var(--on-dark-soft);
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.25rem);
  padding: 1.6rem clamp(1rem, 3vw, 2rem);
  border-block: 1px solid var(--line-dark);
}

.logos li {
  list-style: none;
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--on-dark-soft);
  opacity: .75;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}

.logos li:hover { opacity: 1; color: var(--on-dark); }

.logos-note {
  text-align: center;
  margin-top: 1.1rem;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--on-dark-mute);
}

.pullquote {
  max-width: 44rem;
  margin: clamp(2.75rem, 5vw, 4rem) auto 0;
  text-align: center;
}

.pullquote blockquote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--on-dark);
}

.pullquote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint);
}

/* Coverage gallery */

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

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s var(--ease), filter .55s var(--ease);
  filter: saturate(.9);
}

.shot:hover img { transform: scale(1.06); filter: saturate(1.05); }

.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem .95rem .85rem;
  background: linear-gradient(180deg, rgba(8,12,14,0) 0%, rgba(8,12,14,.88) 70%);
  font-size: .85rem;
  font-weight: 500;
  color: var(--on-dark);
}

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

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

.about-media { position: sticky; top: calc(var(--header-h) + 2rem); }

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l);
}

.about-note {
  position: absolute;
  right: -1rem;
  bottom: -1.25rem;
  max-width: 15rem;
  padding: 1.1rem 1.25rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
}

.about-note strong { display: block; font-size: .95rem; margin-bottom: .3rem; }
.about-note span { font-size: .82rem; color: var(--on-dark-soft); line-height: 1.5; }

.prose p { color: var(--text-soft); font-size: 1.03rem; }
.prose p + p { margin-top: 1.1rem; }
.prose strong { color: var(--text); font-weight: 600; }

.values { list-style: none; display: grid; gap: 1.15rem; margin-top: 2.25rem; }

.value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .95rem;
  align-items: start;
}

.value-num {
  font-family: 'Instrument Serif', Georgia, serif;
  width: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--mint-ink);
}

.value h3 { font-size: 1rem; margin-bottom: .2rem; }
.value p { font-size: .93rem; color: var(--text-soft); }

/* FAQ accordion */

.faq { margin-top: 2.75rem; display: grid; gap: .6rem; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.faq details[open] { border-color: #C6D6D0; box-shadow: var(--shadow-s); }

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  width: 10px; height: 10px;
  flex: none;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq p { padding: 0 1.3rem 1.25rem; font-size: .94rem; color: var(--text-soft); }

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

.contact { background: var(--paper-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

.form-card {
  padding: clamp(1.75rem, 3.5vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.form-card h3 { font-size: 1.3rem; }
.form-card > p { margin-top: .55rem; font-size: .94rem; color: var(--text-soft); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  font-family: inherit;
  font-size: .96rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #C6D6D0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(46,216,160,.18);
}

.form-card .btn { width: 100%; margin-top: 1.35rem; }

.form-note { margin-top: .95rem; font-size: .8rem; color: var(--muted); text-align: center; }

/* Direct details column */

.direct { display: grid; gap: 1rem; }

.direct-card {
  padding: 1.6rem 1.75rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-l);
}

.direct-card h3 { font-size: 1.05rem; margin-bottom: 1.25rem; }

.direct-list { list-style: none; display: grid; gap: .3rem; }

.direct-list a,
.direct-list .row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem .6rem;
  margin-inline: -.6rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: inherit;
  transition: background-color .2s var(--ease);
}

.direct-list a:hover { background: rgba(255,255,255,.06); }

.direct-list svg { width: 17px; height: 17px; flex: none; color: var(--mint); }
.direct-list .dl { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); }
.direct-list .dv { display: block; font-size: .95rem; font-weight: 500; color: var(--on-dark); }

.hours-card {
  padding: 1.6rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.hours-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  font-size: .93rem;
  border-bottom: 1px dashed var(--line);
}

.hours-row:last-of-type { border-bottom: 0; }
.hours-row span:last-child { color: var(--text-soft); }

.hours-card p { margin-top: 1rem; font-size: .86rem; color: var(--muted); }

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

.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-soft);
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.footer-nav a {
  font-size: .9rem;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.footer-nav a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: 1.5rem;
  font-size: .82rem;
  color: var(--on-dark-mute);
}

.footer-bottom a { color: inherit; }

/* ==========================================================================
   Scroll-driven reveals (progressive enhancement, CSS only)
   ========================================================================== */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero-portrait { max-width: 20rem; justify-self: start; }
  .hero-portrait::before { inset: 12px -12px -12px 12px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: relative; top: auto; max-width: 26rem; }
  .about-note { right: auto; left: 1.25rem; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-cta > .btn { display: none; }
  .nav-mobile { display: block; }
  .venture { grid-template-columns: 1fr; }
  .venture-media { min-height: 15rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --sp-section: 3.75rem; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .portrait-badge { left: auto; right: .75rem; bottom: .75rem; }
  .about-note { position: static; max-width: none; margin-top: 1rem; }
}

@media (max-width: 460px) {
  .tiles { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}

/* Anchor offset for the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }

.prose--spaced { margin-top: 1.5rem; }
