/* ============================================================
   Yam Suph Society — shared stylesheet
   Design carried over 1:1 from the one-pager.
   ============================================================ */

@font-face {
  font-family: "Canterbury";
  src: url("Canterbury.ttf") format("truetype");
  font-display: swap;
}

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

:root {
  --black:   #0a0708;
  --crimson: #c32148;
  --gold:    #edd073;
  --cream:   #d8cdbe;
  --white:   #f4efe6;
  --line:    rgba(237, 208, 115, .28);

  --display: "Canterbury", "Trajan Pro", "Cinzel", Georgia, serif;
  --body: Verdana, Geneva, Tahoma, sans-serif;
}

html { scroll-behavior: smooth; background: var(--black); }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

/* ---------- TOP NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10, 7, 8, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .06em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo img { width: 30px; height: 30px; object-fit: contain; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent; border: none; cursor: pointer; padding: 7px;
  z-index: 110;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--gold); transition: transform .3s, opacity .3s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { display: flex; align-items: center; gap: 14px; list-style: none; }
.nav-links a {
  font-family: var(--body);
  font-weight: bold;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links li + li::before {
  content: "\25C6";
  color: var(--crimson);
  font-size: .55rem;
  margin-right: 14px;
  position: relative;
  top: -1px;
}

/* standout "Awards" pill */
.nav-links a.nav-cta {
  color: var(--gold);
  background: transparent;
  border: 3px solid var(--gold);
  border-radius: 5px;
  padding: 6px 15px;
  transition: opacity .2s ease;
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active { color: var(--gold); border-color: var(--gold); background: transparent; opacity: .8; }
/* no diamond separator right after the pill, plus extra space before HOME */
.nav-links li:first-child { margin-right: 20px; }
.nav-links li:first-child + li::before { content: none; }

/* ---------- shared page background grain ---------- */
.page {
  position: relative;
  z-index: 1;
  background: var(--black);
}
.page::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E") repeat;
  opacity: .5; pointer-events: none; z-index: -1;
}

/* ---------- HERO (home) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(195,33,72,.22), transparent 62%),
    var(--black);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.02) 2px, rgba(255,255,255,.02) 4px),
    url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E") repeat;
  opacity: .5; pointer-events: none; z-index: 1;
}
.patch { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.patch img { width: 150px; height: auto; margin-bottom: 30px; }
.hero-the {
  position: relative; z-index: 3;
  font-family: var(--display); font-weight: normal;
  font-size: clamp(2.45rem, 5.1vw, 3.8rem);
  line-height: 1; color: var(--white);
  text-shadow: 0 0 42px rgba(195,33,72,.4), 0 2px 4px rgba(0,0,0,.9);   /* same crimson glow as the name */
  margin-bottom: -27px;   /* lifted so it clears the caps */
  transform: translateX(-40px);   /* centered over "Suph" */
}
.top-rocker, .bottom-rocker {
  font-family: var(--body);
  font-weight: bold;
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-name {
  font-family: var(--display);
  font-weight: normal;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 1;
  color: var(--white);
  margin: 0 0 12px;
  text-shadow: 0 0 42px rgba(195,33,72,.4), 0 2px 4px rgba(0,0,0,.9);
}
.patch-divider {
  width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 12px 0;
}
.hero-lead {
  position: relative; z-index: 3;
  font-family: var(--body);
  font-size: .95rem;
  line-height: 1.9;
  color: var(--cream);
  max-width: 520px;
  margin: 26px auto 34px;
}
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .45; z-index: 3;
}
.scroll-hint span { font-family: var(--body); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-header {
  position: relative;
  text-align: center;
  padding: 150px 24px 60px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(195,33,72,.16), transparent 60%),
    var(--black);
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E") repeat;
  opacity: .5; pointer-events: none;
}
.page-header .ph-inner { position: relative; z-index: 2; }
.page-header .ph-label {
  font-family: var(--body); font-weight: bold; font-size: .66rem;
  letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: var(--display); font-weight: normal;
  font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05;
  color: var(--white);
}
.page-header .ph-divider { width: 70px; height: 2px; background: var(--gold); opacity: .85; margin: 22px auto 0; }

/* ---------- SECTIONS ---------- */
.sec {
  max-width: 860px;
  margin: 0 auto;
  padding: 90px 24px;
}
.sec + .sec { border-top: 1px solid var(--line); }
/* offset anchored jumps so the heading clears the fixed nav */
section[id] { scroll-margin-top: 84px; }
.sec .section-label {
  font-family: var(--body); font-weight: bold; font-size: .66rem;
  letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.sec h2 {
  font-family: var(--display); font-weight: normal;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.06;
  color: var(--crimson); margin-bottom: 18px;
}
.divider { width: 60px; height: 2px; background: var(--gold); opacity: .85; margin-bottom: 34px; }
.sec p { color: var(--cream); font-size: .96rem; max-width: none; margin-bottom: 8px; }
.sec p b, .sec p strong { color: var(--white); }
.sec a.inline { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line); }
.sec a.inline:hover { color: var(--white); border-color: var(--white); }

/* ---------- CTA buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body); font-weight: bold; font-size: .72rem;
  letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  padding: 14px 32px; border: 1px solid var(--crimson);
  color: var(--white); background: transparent;
  transition: background .2s, border-color .2s; cursor: pointer;
}
.btn:hover { background: var(--crimson); }
.btn-solid { background: var(--crimson); }
.btn-solid:hover { background: #a51b3c; border-color: #a51b3c; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Home: pillar cards ---------- */
.pillars {
  max-width: 760px; margin: 0 auto; padding: 90px 24px;
  border-top: 1px solid var(--line);
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px;
}
.pillar {
  display: block; text-decoration: none;
  padding: 30px 26px;
  background: rgba(237,208,115,.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(237,208,115,.06); }
.pillar .p-icon { color: var(--gold); line-height: 0; }
.pillar .p-icon svg { width: 34px; height: 34px; display: block; }
.pillar h3 { font-family: var(--display); font-weight: normal; font-size: 1.5rem; color: var(--white); margin: 12px 0 8px; }
.pillar p { font-size: .86rem; color: var(--cream); opacity: .85; margin: 0; }
.pillar .p-more { display: inline-block; margin-top: 14px; font-size: .66rem; font-weight: bold; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
  background: radial-gradient(120% 120% at 50% 0%, rgba(195,33,72,.14), transparent 60%), var(--black);
}
.cta-band h2 { font-family: var(--display); font-weight: normal; font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.cta-band p { color: var(--cream); max-width: 520px; margin: 0 auto 28px; font-size: .95rem; }

/* ---------- Principles (numbered code list) ---------- */
.code-list { list-style: none; margin-top: 8px; }
.code-list li {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid rgba(237,208,115,.16);
}
.code-list li:first-child { border-top: 1px solid rgba(237,208,115,.16); }
.code-num { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--gold); min-width: 46px; padding-top: 2px; }
.code-text h4 { font-family: var(--body); font-weight: bold; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 5px; }
.code-text p { margin: 0; color: var(--cream); font-size: .95rem; }

/* ---------- Asefah / lodge card ---------- */
.lodge-card {
  display: flex; align-items: center; gap: 28px;
  max-width: 560px; margin-top: 12px;
  padding: 24px 30px;
  background: rgba(237,208,115,.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.lodge-card .crest img { width: 90px; height: 90px; object-fit: contain; display: block; }
.lodge-card .vrule { align-self: stretch; width: 1px; background: var(--line); }
.lodge-card .est { font-family: var(--body); font-weight: bold; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.lodge-card .lname { font-family: var(--display); font-size: 24px; line-height: 1.05; color: var(--white); }
.lodge-card .place { font-family: var(--body); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); margin-top: 6px; }
.lodge-card .hrule { width: 40px; height: 2px; background: var(--gold); opacity: .7; margin: 13px 0; }
.lodge-card .lc-contact { font-family: var(--body); font-size: 12px; line-height: 1.8; color: var(--cream); }
.lodge-card .lc-contact b { color: var(--white); }
.lodge-card .lc-contact a { color: var(--gold); text-decoration: none; }
.lodge-card .lc-contact a:hover { text-decoration: underline; }

/* ---------- Membership steps ---------- */
.steps { list-style: none; margin-top: 10px; display: grid; gap: 16px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(237,208,115,.03); }
.step .s-num { font-family: var(--display); font-size: 1.5rem; color: var(--gold); min-width: 40px; line-height: 1; }
.step h4 { font-family: var(--body); font-weight: bold; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.step p { margin: 0; font-size: .9rem; }

/* ============================================================
   Organizational chart (native)
   ============================================================ */
.orgchart { margin-top: 30px; --officer: var(--crimson); --soldier: #4a7fd6; --nonmember: rgba(244,239,230,.65); }

/* legend */
.org-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.org-legend .lg {
  font-family: var(--body); font-size: .62rem; font-weight: bold; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cream);
  padding: 7px 14px; border: 1.5px solid; border-radius: 4px; background: rgba(0,0,0,.3);
}
.org-legend .officer   { border-color: var(--officer); }
.org-legend .soldier   { border-color: var(--soldier); }
.org-legend .nonmember { border-color: var(--nonmember); }

/* layout: tree + honors panel */
.org-body { display: flex; gap: 26px; align-items: flex-start; }
.org-tree { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; }

/* nodes */
.node {
  border: 1.5px solid var(--nonmember); border-radius: 5px;
  padding: 9px 14px; background: rgba(0,0,0,.45); text-align: center;
  min-width: 118px;
  display: flex; flex-direction: column; justify-content: center;
}
.node b { display: block; font-family: var(--body); font-weight: bold; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--white); line-height: 1.3; }
.node span { display: block; font-size: .64rem; color: var(--cream); opacity: .8; }
.node small { display: block; font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.node.officer   { border-color: var(--officer); }
.node.soldier   { border-color: var(--soldier); }
.node.nonmember { border-color: var(--nonmember); }
.node.sm { min-width: 0; padding: 7px 10px; }

/* connectors */
.conn { width: 1.5px; height: 22px; background: var(--line); }
.tier { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* block containers */
.org-block { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 20px; display: flex; flex-direction: column; align-items: center; }
.block-head { font-family: var(--display); font-size: 1.35rem; color: var(--white); text-align: center; line-height: 1.1; }
.block-head span { display: block; font-family: var(--body); font-size: .64rem; font-weight: bold; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.block-body { margin-top: 16px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.block-foot { margin-top: 16px; font-family: var(--body); font-weight: bold; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); }

/* councillor columns */
.councillors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 460px; position: relative; padding-top: 22px; }
.councillors::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 1.5px; background: var(--line); }
.col { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.col::before { content: ""; position: absolute; top: -22px; left: 50%; width: 1.5px; height: 22px; background: var(--line); }
.col-head { font-family: var(--body); font-weight: bold; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }

/* councillors that hold an office (Secretary / Treasurer / Archiver) */
.node.has-role { background: rgba(237,208,115,.09); outline: 1px solid rgba(237,208,115,.4); outline-offset: -1px; }
.node.has-role small { color: var(--gold); }
.org-note { max-width: 470px; margin: 20px auto 0; font-family: var(--body); font-size: .74rem; font-style: italic; line-height: 1.6; color: var(--cream); opacity: .8; text-align: center; }

@media (max-width: 480px) {
  .org-block { padding: 20px 12px 18px; }
  .councillors { max-width: 100%; gap: 7px; }
  .node.sm { padding: 6px 3px; }
  .node.sm b { font-size: .6rem; letter-spacing: 0; }
  .node.sm span { font-size: .5rem; }
  .node.sm small { font-size: .5rem; letter-spacing: .05em; }
}

/* ---------- Awards, Degrees & Honors (list) ---------- */
.award-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 10px; }
.award-group h3 { font-family: var(--display); font-weight: normal; font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.award-note { font-family: var(--body); font-weight: bold; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.award-list { list-style: none; margin-top: 8px; }
.award-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(237,208,115,.16);
  font-size: .9rem; color: var(--cream);
}
.award-list li:last-child { border-bottom: 0; }
.award-list li::before { content: "\25C6"; color: var(--gold); font-size: .58rem; position: relative; top: -1px; flex: 0 0 auto; }
.award-list .tier { margin-left: auto; font-family: var(--body); font-weight: bold; font-size: .72rem; letter-spacing: .06em; color: var(--gold); }
.award-list li.deg-red::before    { color: var(--crimson); }
.award-list li.deg-red .tier       { color: #ff6f8c; }
.award-list li.deg-gold::before    { color: var(--gold); }
.award-list li.deg-blue::before    { color: #4a7fd6; }
.award-list li.deg-blue .tier      { color: #7ba7ef; }
@media (max-width: 780px) { .award-cols { grid-template-columns: 1fr; gap: 26px; } }
.award-cols--two { grid-template-columns: repeat(2, 1fr); gap: 60px; }

/* ---------- Annual Awards (standout) ---------- */
.awards-year { position: relative; }
.year-awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.year-award {
  text-align: center; padding: 34px 20px;
  border: 1px solid var(--gold); border-radius: 10px;
  background: rgba(237,208,115,.05);
  transition: transform .18s ease, background .18s ease;
}
.year-award:hover { transform: translateY(-5px); background: rgba(237,208,115,.1); }
.year-award .ya-icon { font-size: 2rem; line-height: 1; color: var(--gold); }
.year-award h3 { font-family: var(--display); font-weight: normal; font-size: 1.45rem; line-height: 1.15; color: var(--white); margin: 14px 0 12px; }
.year-award .ya-recipient { font-family: var(--body); font-size: .72rem; font-weight: bold; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }
/* overview cards used as links */
a.year-award { text-decoration: none; color: inherit; display: block; }

/* ---------- Medal sections ---------- */
.medal { display: flex; gap: 46px; align-items: flex-start; margin-top: 6px; }
.medal-side { flex: 0 0 150px; text-align: center; }
.medal-img { width: 150px; height: auto; display: block; }
.medal-no { display: block; margin-top: 12px; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--gold); }
.medal-no.is-highest { color: var(--crimson); }
.medal-body { flex: 1 1 auto; min-width: 0; }
.laureate-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.laureate-label { font-family: var(--body); font-weight: bold; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.laureate-tba { color: var(--cream); opacity: .75; font-style: italic; margin: 0; }
.laureate-list { list-style: none; margin: 0; }
.laureate-list li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; color: var(--cream); font-size: .95rem; }
.laureate-list li::before { content: "\25C6"; color: var(--gold); font-size: .55rem; flex: 0 0 auto; }
.laureate-list .lr-meta { margin-left: auto; font-size: .78rem; letter-spacing: .05em; color: var(--gold); }

/* ---------- Past laureates table ---------- */
.past-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-family: var(--body); }
.past-table th, .past-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.past-table th { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: bold; }
.past-table td { font-size: .92rem; color: var(--cream); }
.past-table td.yr { font-family: var(--display); font-size: 1.15rem; color: var(--white); white-space: nowrap; }
.past-table tbody tr { transition: background .15s ease; }
.past-table tbody tr:hover { background: rgba(237,208,115,.04); }
.table-note { font-size: .78rem; font-style: italic; color: var(--cream); opacity: .6; margin-top: 14px; }
.honour-group { margin-top: 40px; }
.honour-group:first-of-type { margin-top: 26px; }
.honour-group h3 { font-family: var(--display); font-weight: normal; font-size: 1.5rem; color: var(--white); margin-bottom: 4px; }
.honour-group .past-table { margin-top: 8px; }

@media (max-width: 640px) {
  .medal { flex-direction: column; align-items: center; gap: 22px; }
  .medal-body { width: 100%; }
  .past-table th, .past-table td { padding: 11px 8px; font-size: .82rem; }
  .past-table td.yr { font-size: 1rem; }
}
@media (max-width: 700px) {
  .year-awards { grid-template-columns: 1fr; }
  .award-cols--two { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-email { font-size: 1rem; letter-spacing: .5px; margin-top: 6px; }
.contact-email a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-email a:hover { color: var(--white); border-color: var(--white); }

.prospect-note {
  margin-top: 26px; padding: 22px 28px;
  border-left: 3px solid var(--crimson);
  background: rgba(195,33,72,.12);
  font-style: italic; color: var(--cream); max-width: 620px;
}
.prospect-note p { margin: 0; }

.socials { display: flex; gap: 26px; margin-top: 28px; }
.socials a { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); text-decoration: none; font-family: var(--body); font-size: 12px; letter-spacing: 1px; transition: color .15s; }
.socials a svg { width: 22px; height: 22px; fill: currentColor; }
.socials a:hover { color: var(--white); }

/* ---------- Contact form ---------- */
.contact-form { max-width: 560px; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-family: var(--body); font-size: 10px; font-weight: bold; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.contact-form input,
.contact-form textarea {
  font-family: var(--body); font-size: .9rem; color: var(--white);
  background: rgba(237, 208, 115, .04);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(216, 205, 190, .45); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); background: rgba(237, 208, 115, .07); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button:disabled { opacity: .55; cursor: default; }
.form-status { font-family: var(--body); font-size: .82rem; margin-top: 2px; min-height: 1em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: var(--crimson); }

/* ---------- Footer ---------- */
.site-footer {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #2b141b;   /* deep crimson band */
}
.site-footer::before {
  content: ""; position: absolute; left: 90px; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px;
  background: url("yamsuph.png") center / contain no-repeat;
  opacity: .04; pointer-events: none;
}
.footer-inner {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: 38px 40px 34px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 44px;
}
.foot-brand .foot-emblem { width: 46px; height: 46px; object-fit: contain; display: block; margin-bottom: 16px; }
.foot-brand .foot-name { font-family: var(--display); font-size: 1.55rem; color: var(--white); letter-spacing: .04em; margin-bottom: 14px; }
.foot-address { font-style: normal; font-family: var(--body); font-size: .82rem; line-height: 1.95; color: var(--cream); }
.foot-address a { color: var(--cream); text-decoration: none; }
.foot-address a:hover { color: var(--gold); }
.foot-btn { margin-top: 22px; padding: 11px 24px; font-size: .62rem; border-color: rgba(244, 239, 230, .5); color: var(--white); }
.foot-btn:hover { background: var(--crimson); border-color: var(--crimson); }

.foot-head { font-family: var(--body); font-weight: bold; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 28px; margin-bottom: 18px; }
.foot-head--spacer { visibility: hidden; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 11px; }
.foot-links a { font-family: var(--body); font-size: .85rem; color: var(--cream); text-decoration: none; transition: color .18s; }
.foot-links a:hover { color: var(--gold); }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; }
.foot-social svg { width: 17px; height: 17px; fill: var(--gold); flex: 0 0 auto; }

.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(244, 239, 230, .12);
  padding: 20px 24px; text-align: center;
  font-family: var(--body); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); opacity: .6;
}

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; padding: 46px 28px 26px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 0;
    background: rgba(10,7,8,.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease;
    padding: 10px 0 18px;
  }
  nav.open .nav-links { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li + li::before { content: none; }
  .nav-links a { display: block; padding: 12px 0; font-size: .8rem; }
  .nav-links li:first-child { margin-right: 0; }
  .nav-links a.nav-cta { display: inline-block; padding: 8px 26px; margin: 6px 0; }
  .sec { padding: 68px 22px; }
  .page-header { padding: 120px 22px 48px; }
  .hero-name { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-the { font-size: clamp(1.5rem, 6.5vw, 2.1rem); margin-bottom: -16px; transform: translateX(-20px); }
  .lodge-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lodge-card .vrule { width: 100%; height: 1px; }
}
