/* ============================================================
   DeckCountry — Platinum Ambassadors page (#370)
   ------------------------------------------------------------
   Aligned to the production design (ambassador.page.html from
   the Home Trades-10 design pack). All selectors are scoped to
   the .ht-page wrapper so this CSS lives alongside base_blue
   without leaking into other surfaces.
   ============================================================ */

.ht-page {
  /* Tokens — warm marketing palette */
  --bg: #FBF9F4;
  --bg-raised: #FFFFFF;
  --bg-tint: #F4EFE5;
  --bg-tint-2: #ECE4D2;
  --bg-ink: #1A1A1A;
  --ink-1: #1A1A1A;
  --ink-2: #3F3D38;
  --ink-3: #6E6A5F;
  --ink-4: #9E9889;
  --ink-on-dark: #FBF9F4;
  --line-1: #E7E1D2;
  --line-2: #D4CCB7;
  --brand: #E76F51;
  --brand-hover: #D85A3D;
  --brand-tint: #FBE4DC;
  --brand-ink: #6F2B1A;
  --accent: #2A9D8F;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  font-family: var(--sans);
  font-size: 16px; line-height: 1.55;
  color: var(--ink-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ht-page *, .ht-page *::before, .ht-page *::after { box-sizing: border-box; }
.ht-page a { text-decoration: none; color: inherit; cursor: pointer; }
.ht-page button { font: inherit; cursor: pointer; color: inherit; }
.ht-page .num { font-variant-numeric: tabular-nums; font-family: var(--mono); }

.ht-page .wrap        { max-width: 1240px; margin: 0 auto; padding: 0 36px; }
.ht-page .wrap-narrow { max-width: 760px;  margin: 0 auto; padding: 0 36px; }

/* ─── Top bar ─── */
.ht-page .topbar {
  border-bottom: 1px solid var(--line-1);
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 40;
}
.ht-page .topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 24px;
}
.ht-page .brand-lockup { display: flex; align-items: center; gap: 12px; }
.ht-page .brand-name {
  font-family: var(--display); font-weight: 500; font-size: 21px;
  letter-spacing: -0.02em;
}
.ht-page .brand-name b { color: var(--brand); font-weight: 500; }
.ht-page .beta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px;
  background: var(--brand-tint); color: var(--brand-ink);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ht-page .beta-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); animation: dc-pulse 2s infinite;
}
@keyframes dc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}
.ht-page .topbar a.email-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 14px;
  background: var(--ink-1); color: var(--bg);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: background 150ms ease;
}
.ht-page .topbar a.email-cta:hover { background: var(--brand); }
.ht-page .topbar a.email-cta svg { transition: transform 150ms ease; }
.ht-page .topbar a.email-cta:hover svg { transform: translateX(2px); }

/* ─── Hero ─── */
.ht-page .hero { padding: 88px 0 56px; text-align: center; position: relative; }
.ht-page .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  background: var(--ink-1); color: var(--bg);
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.ht-page .hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
.ht-page h1.hero-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 auto 24px;
  max-width: 860px; text-wrap: balance;
}
.ht-page h1.hero-title em { font-style: italic; color: var(--brand); font-weight: 400; }
.ht-page .hero-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-2); max-width: 620px;
  margin: 0 auto 36px;
}
.ht-page .hero-meta {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 14px 26px;
  background: var(--bg-tint);
  border-radius: 999px;
  border: 1px solid var(--line-1);
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.ht-page .hero-meta strong {
  color: var(--ink-1); font-weight: 600;
  font-family: var(--display);
  font-size: 14px; letter-spacing: -0.01em;
}
.ht-page .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ht-page .hero-meta .sep { color: var(--line-2); }

/* ─── Roster ─── */
.ht-page .roster { padding: 56px 0 80px; }
.ht-page .roster-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
}
.ht-page .roster-head .l {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand);
  display: inline-flex; align-items: center; gap: 12px;
}
.ht-page .roster-head .l::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.ht-page .roster-head h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 10px 0 0;
  max-width: 620px; text-wrap: balance;
}
.ht-page .roster-head h2 em { font-style: italic; color: var(--brand); font-weight: 400; }

.ht-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ─── Card ─── */
.ht-page .card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line-1);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ht-page .card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -24px rgba(26, 26, 26, 0.2);
}
.ht-page .card-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3px;
  aspect-ratio: 16 / 9;
}
.ht-page .card-photos > div {
  position: relative;
  overflow: hidden;
}
.ht-page .card-photos > div::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(118deg, transparent 0 8px, rgba(255,255,255,0.05) 8px 9px);
}
.ht-page .card-photos > div::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
}

/* Real uploaded photo (#379) — collapses the 3-panel grid to one cell */
.ht-page .card-photos--single {
  position: relative;
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.ht-page .card-photo-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}

/* Mood gradients — deck-wood / outdoor tones */
.ht-page .mood-cedar     { background: linear-gradient(135deg, #a8623a 0%, #4a2814 100%); }
.ht-page .mood-composite { background: linear-gradient(135deg, #6e5a44 0%, #3a2f25 100%); }
.ht-page .mood-cable     { background: linear-gradient(135deg, #3d3a36 0%, #15140f 100%); }
.ht-page .mood-evening   { background: linear-gradient(135deg, #4f3a2a 0%, #1c1410 100%); }
.ht-page .mood-lake      { background: linear-gradient(135deg, #4f6c7e 0%, #1c2a36 100%); }
.ht-page .mood-ipe       { background: linear-gradient(135deg, #4a3022 0%, #22150b 100%); }
.ht-page .mood-pine      { background: linear-gradient(135deg, #7a7062 0%, #2c2620 100%); }
.ht-page .mood-sand      { background: linear-gradient(135deg, #c2a774 0%, #6e5a3a 100%); }
.ht-page .mood-forest    { background: linear-gradient(135deg, #5d7c52 0%, #2c3e2a 100%); }
.ht-page .mood-clay      { background: linear-gradient(135deg, #b87a52 0%, #5a3a26 100%); }
.ht-page .mood-slate     { background: linear-gradient(135deg, #6e7280 0%, #2c2e36 100%); }
.ht-page .mood-dusk      { background: linear-gradient(135deg, #7a5a6e 0%, #2c1e26 100%); }

.ht-page .card-badge {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px 5px 8px;
  background: rgba(26, 26, 26, 0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--bg);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.ht-page .card-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1.5px rgba(231, 111, 81, 0.3);
}

.ht-page .card-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.ht-page .card-name {
  font-family: var(--display); font-weight: 500;
  font-size: 26px; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.ht-page .card-meta {
  display: flex; align-items: center;
  flex-wrap: wrap;
  gap: 3px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-top: -8px;
}
.ht-page .card-meta > span {
  white-space: nowrap;
  padding-right: 9px;
}
.ht-page .card-meta > span:not(:last-child)::after {
  content: "·";
  color: var(--line-2);
  margin-left: 9px;
}
.ht-page .card-meta .num { color: var(--ink-2); font-weight: 600; }

.ht-page .card-quote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 16.5px; line-height: 1.45;
  color: var(--ink-1);
  letter-spacing: -0.005em;
  padding-left: 14px;
  border-left: 2px solid var(--brand);
  margin: 4px 0 2px;
}
.ht-page .card-quote-attrib {
  font-size: 12px; color: var(--ink-3);
  font-family: var(--sans);
  margin-top: 6px;
  padding-left: 14px;
}

.ht-page .card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.ht-page .card-owner {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; flex: 1 1 auto;
}
.ht-page .card-owner > div { min-width: 0; overflow: hidden; }
.ht-page .card-avatar {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--bg-tint-2);
  color: var(--brand-ink);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 500; font-size: 14px;
  letter-spacing: -0.02em;
}
.ht-page .card-owner-name {
  font-size: 12.5px; color: var(--ink-1); font-weight: 600;
  line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ht-page .card-owner-role {
  font-size: 10.5px; color: var(--ink-3);
  font-family: var(--mono); letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ht-page .card-link {
  position: absolute; inset: 0; z-index: 1;
  border-radius: 16px;
}
.ht-page .card-url {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 1px;
  transition: color 150ms ease, border-color 150ms ease;
  flex: 0 0 auto;
  white-space: nowrap; max-width: 50%;
  overflow: hidden; text-overflow: ellipsis;
  position: relative; z-index: 2;
}
.ht-page .card-url:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ─── "What it means" (kept for AC #370; design omits the markup
       but defines .means tokens — we honor both by rendering the
       section with the design's visual language). ─── */
.ht-page .means {
  padding: 64px 0 96px;
  background: var(--bg-tint);
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.ht-page .means-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.ht-page .means h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 16px;
  max-width: 480px; text-wrap: balance;
}
.ht-page .means h2 em { font-style: italic; color: var(--brand); font-weight: 400; }
.ht-page .means-sub {
  font-size: 16.5px; line-height: 1.55; color: var(--ink-2);
  max-width: 460px; margin: 0;
}
.ht-page .means-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.ht-page .means-list li {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 14px; align-items: flex-start;
}
.ht-page .means-list .n {
  font-family: var(--mono); font-size: 11px;
  color: var(--brand-ink);
  background: var(--brand-tint);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-weight: 700;
}
.ht-page .means-list .t {
  font-family: var(--display); font-weight: 500;
  font-size: 17px; letter-spacing: -0.01em;
  color: var(--ink-1);
  margin: 4px 0 4px;
}
.ht-page .means-list .d { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ─── Apply CTA ─── */
.ht-page .apply { padding: 110px 0; text-align: center; }
.ht-page .apply h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 auto 24px;
  max-width: 720px; text-wrap: balance;
}
.ht-page .apply h2 em { font-style: italic; color: var(--brand); font-weight: 400; }
.ht-page .apply p {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 560px; margin: 0 auto 36px;
}
.ht-page .apply .email {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 30px;
  background: var(--ink-1); color: var(--bg);
  border-radius: 999px;
  font-family: var(--mono); font-size: 16px;
  font-weight: 500; letter-spacing: -0.005em;
  box-shadow: 0 16px 36px -14px rgba(26, 26, 26, 0.45);
  transition: all 180ms ease;
}
.ht-page .apply .email:hover { background: var(--brand); transform: translateY(-2px); }

/* ─── Footer ─── */
.ht-page .foot {
  padding: 56px 0 80px;
  border-top: 1px solid var(--line-1);
  background: var(--bg);
}
.ht-page .foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.ht-page .foot-l { font-size: 13px; color: var(--ink-3); }
.ht-page .foot-r { display: flex; gap: 20px; font-size: 13px; color: var(--ink-3); }
.ht-page .foot-r a:hover { color: var(--brand); }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .ht-page .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .ht-page .grid { grid-template-columns: 1fr; }
  .ht-page .means-grid { grid-template-columns: 1fr; gap: 32px; }
  .ht-page .roster-head { flex-direction: column; align-items: flex-start; }
  .ht-page .hero-meta { flex-direction: column; gap: 10px; padding: 18px 22px; }
  .ht-page .hero-meta .sep { display: none; }
  .ht-page .foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   DeckCountry — Ambassador detail page (#371)
   ------------------------------------------------------------
   Classes scoped without .ht-page wrapper since the detail
   page uses full-bleed sections. Mirrors GC Detail page.html.
   ============================================================ */

/* ── Shared vars (already on base_blue body via ambassadors.css :root) ── */
.breadcrumb {
  padding: 64px 0 0;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a {
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 1px;
  transition: color 150ms;
}
.breadcrumb a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.breadcrumb .sep { color: var(--line-2); }
.breadcrumb .here { color: var(--ink-1); font-weight: 600; }

/* ── Hero ── */
.dc-hero { padding: 60px 0 72px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 22px;
}
.hero-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(231,111,81,0.18);
}
h1.hero-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 0 16px; color: var(--ink-1); text-wrap: balance;
}
.hero-loc {
  font-size: 18px; color: var(--ink-2);
  margin: 0 0 32px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
}
.hero-loc strong { font-family: var(--display); font-weight: 500; color: var(--ink-1); letter-spacing: -0.01em; }
.hero-loc .sep { color: var(--line-2); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1);
  padding: 24px 0;
}
.hero-stat { padding: 0 20px; border-left: 1px solid var(--line-1); }
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat .v {
  font-family: var(--display); font-weight: 500;
  font-size: 38px; line-height: 1; letter-spacing: -0.025em;
  color: var(--ink-1); margin-bottom: 6px;
}
.hero-stat .v em {
  font-family: var(--mono); font-size: 17px; font-weight: 500;
  font-style: normal; color: var(--ink-3); letter-spacing: 0; margin-left: 2px;
}
.hero-stat .l { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ── Featured photo ── */
.feature-photo-frame { position: relative; margin-bottom: 80px; }
.feature-photo {
  height: 480px; border-radius: 18px;
  background: linear-gradient(135deg, #4f3a2a 0%, #1c1410 100%);
  background-image:
    repeating-linear-gradient(118deg, transparent 0 12px, rgba(255,255,255,0.04) 12px 13px),
    linear-gradient(135deg, #4f3a2a 0%, #1c1410 100%);
  box-shadow: 0 32px 60px -28px rgba(26,26,26,0.35);
  position: relative; overflow: hidden;
}
.feature-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.6));
}
.feature-caption {
  position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  color: #fff;
}
.feature-caption .title {
  font-family: var(--display); font-weight: 500;
  font-size: 26px; letter-spacing: -0.02em; line-height: 1.1;
}
.feature-caption .desc {
  font-family: var(--mono); font-size: 11.5px;
  color: rgba(251,249,244,0.7); letter-spacing: 0.02em; margin-top: 6px;
}

/* ── Sections ── */
.section { padding: 64px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 20px; max-width: 680px; text-wrap: balance;
}
h2.section-title em { font-style: italic; color: var(--brand); font-weight: 400; }

/* ── About + key facts ── */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: flex-start; }
.about-prose p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 16px; max-width: 560px; }
.facts {
  background: var(--bg-tint); border: 1px solid var(--line-1);
  border-radius: 14px; padding: 26px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.facts h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em; margin: 0 0 4px; color: var(--ink-1);
}
.facts-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 10px;
  padding: 12px 0; border-top: 1px dashed var(--line-2); align-items: baseline;
}
.facts-row:first-of-type { border-top: none; padding-top: 0; }
.facts-row .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.facts-row .v { font-size: 14px; color: var(--ink-1); line-height: 1.45; }

/* ── Projects grid ── */
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.projects-head .right { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; text-align: right; padding-bottom: 4px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
  background: var(--bg-raised); border: 1px solid var(--line-1);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.project:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 44px -22px rgba(26,26,26,0.2); }
.project-photo {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
}
.project-photo::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(118deg, transparent 0 9px, rgba(255,255,255,0.05) 9px 10px);
}
.project-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
}
.project-photo .year {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(251,249,244,0.95);
  background: rgba(26,26,26,0.55); backdrop-filter: blur(6px);
  padding: 4px 8px; border-radius: 4px; letter-spacing: 0.04em;
}
.project-body { padding: 16px 18px 18px; }
.project-name { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink-1); margin-bottom: 6px; }
.project-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; }

/* ── Specialties chips ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px 8px 11px;
  background: var(--bg-raised); border: 1px solid var(--line-1);
  border-radius: 999px; font-size: 13px; color: var(--ink-1); font-weight: 500;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ── Pull quote ── */
.quote {
  background: var(--bg-ink); color: var(--ink-on-dark);
  border-radius: 18px; padding: 64px 56px; position: relative; overflow: hidden;
}
.quote::before {
  content: "\201C"; position: absolute; top: 8px; left: 36px;
  font-family: var(--display); font-style: italic;
  font-size: 220px; color: var(--brand); opacity: 0.32; line-height: 1; pointer-events: none;
}
.quote-text {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.32; letter-spacing: -0.015em;
  color: #fff; margin: 0 0 28px; max-width: 820px; position: relative;
}
.quote-attrib { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-ink);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.02em;
}
.quote-attrib-name { font-size: 14.5px; color: #fff; font-weight: 600; }
.quote-attrib-role { font-family: var(--mono); font-size: 11.5px; color: rgba(251,249,244,0.55); letter-spacing: 0.02em; margin-top: 1px; }

/* ── Contact card ── */
.contact {
  background: var(--bg-tint); border-radius: 18px; padding: 48px 44px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  align-items: center; border: 1px solid var(--line-1);
}
.contact h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 14px; max-width: 420px; text-wrap: balance;
}
.contact h2 em { font-style: italic; color: var(--brand); font-weight: 400; }
.contact p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 24px; max-width: 460px; }
.contact-rows { display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 14px;
  padding: 12px 18px; background: var(--bg-raised);
  border-radius: 10px; border: 1px solid var(--line-1); align-items: center;
}
.contact-row .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contact-row .v { font-size: 14px; color: var(--ink-1); font-weight: 500; word-break: break-word; }
.contact-row .v a { color: var(--ink-1); border-bottom: 1px dashed var(--line-2); padding-bottom: 1px; transition: color 150ms ease, border-color 150ms ease; }
.contact-row .v a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.contact-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; background: var(--brand); color: #fff;
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  box-shadow: 0 12px 28px -10px rgba(231,111,81,0.6);
  transition: all 180ms ease; margin-top: 4px; text-decoration: none;
}
.contact-cta:hover { background: var(--brand-hover); transform: translateY(-1px); }

/* ── Bottom nav ── */
.botnav { padding: 56px 0; text-align: center; }
.botnav a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
  border-bottom: 1px dashed var(--line-2); padding-bottom: 1px;
  transition: color 150ms ease, border-color 150ms ease;
}
.botnav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ── DeckCountry footer (detail page) ── */
.dc-foot {
  padding: 56px 0 80px; border-top: 1px solid var(--line-1); background: var(--bg);
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.foot-l { font-size: 13px; color: var(--ink-3); }
.foot-r { display: flex; gap: 20px; font-size: 13px; color: var(--ink-3); }
.foot-r a:hover { color: var(--brand); }

/* ── Responsive: 960px ── */
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero-stat { border-left: none; padding-left: 0; }
  .contact { grid-template-columns: 1fr; gap: 32px; padding: 36px 30px; }
  .feature-photo { height: 360px; }
}

/* ── Responsive: 600px ── */
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .feature-photo { height: 280px; }
  .quote { padding: 44px 30px; }
  .quote::before { font-size: 140px; }
}
