/* ==========================================================================
   Cern Yazılım — site stylesheet
   Tema: "Defter" — pansiyon kayıt defterlerinden, mühürlü evraklardan ve
   barkodlu kimlik kartlarından ilham alan kurumsal bir görsel dil.
   ========================================================================== */

:root{
  --ink:        #1c2a3a;
  --ink-2:      #33465c;
  --paper:      #f6f3ec;
  --paper-2:    #eee8da;
  --card:       #fffdf8;
  --line:       #d9d0bc;
  --line-soft:  #e6e0d0;
  --stamp:      #a6402a;
  --stamp-dark: #832f1d;
  --gold:       #b4872e;
  --ok:         #4b6b4e;
  --muted:      #665f50;
  --muted-2:    #8a8272;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --radius: 4px;
  --shadow-card: 0 1px 0 rgba(28,42,58,.06), 0 10px 24px -18px rgba(28,42,58,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
[id]{ scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; height: auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p{ margin: 0 0 1em; }
p:last-child{ margin-bottom: 0; }

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

.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow-note{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Ledger-line decorative background ---------- */
.ledger-bg{
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 37px,
    var(--line-soft) 38px
  );
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .8em 1.5em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--stamp);
  color: #fdf6ee;
  border-color: var(--stamp);
}
.btn-primary:hover{ background: var(--stamp-dark); border-color: var(--stamp-dark); }
.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--paper); }
.btn-ghost{
  background: transparent;
  color: var(--paper);
  border-color: rgba(246,243,236,.45);
}
.btn-ghost:hover{ border-color: var(--paper); background: rgba(246,243,236,.1); }
.btn-block{ width: 100%; justify-content: center; }
.btn svg{ width: 1.05em; height: 1.05em; flex: none; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(246,243,236,.12);
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand{
  display: flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--paper);
  flex: none;
}
.brand-mark{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
}
.brand-mark svg{ width: 20px; height: 20px; }
.brand small{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .04em;
  color: #c7bfa9;
  margin-top: 2px;
}

.main-nav{ flex: 1; display: flex; justify-content: flex-end; }
.main-nav > ul{ display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link{
  display: flex;
  align-items: center;
  gap: .3em;
  padding: .6em .85em;
  border-radius: var(--radius);
  font-size: .94rem;
  font-weight: 500;
  color: #e7e2d4;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link:focus-visible,
.main-nav li.has-dropdown:hover > a.nav-link,
.main-nav a.nav-link[aria-current="page"]{
  background: rgba(246,243,236,.1);
  color: #fff;
}
.main-nav a.nav-link[aria-current="page"]{
  box-shadow: inset 0 -2px 0 var(--gold);
}
.main-nav li.has-dropdown{ position: relative; }
.chev{ width: 12px; height: 12px; transition: transform .18s var(--ease); }
.has-dropdown.open .chev,
.has-dropdown:hover .chev{ transform: rotate(180deg); }

.dropdown{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown,
.dropdown:focus-within{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a{
  display: block;
  padding: .65em .8em;
  border-radius: 3px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.dropdown a:hover{ background: var(--paper-2); color: var(--stamp); }

.nav-toggle{
  display: none;
  background: transparent;
  border: 1px solid rgba(246,243,236,.35);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  flex: none;
}
.nav-toggle svg{ width: 22px; height: 22px; }
.nav-toggle .icon-close{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-open{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display: block; }

@media (max-width: 900px){
  .nav-toggle{ display: flex; }
  .main-nav{
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--ink);
    display: block;
    justify-content: flex-start;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s var(--ease);
    padding: 8px 0 40px;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav > ul{ flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px; }
  .main-nav a.nav-link{ padding: 1em .3em; border-radius: 0; border-bottom: 1px solid rgba(246,243,236,.1); justify-content: space-between; }
  .main-nav a.nav-link[aria-current="page"]{ box-shadow: none; color: var(--gold); }
  .dropdown{
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    background: rgba(246,243,236,.05);
    border: none;
    box-shadow: none;
    margin: 0 0 8px;
  }
  .has-dropdown.open .dropdown{ display: block; }
  .dropdown a{ color: #e7e2d4; padding: .8em 1.4em; }
  .dropdown a:hover{ background: rgba(246,243,236,.08); color: var(--gold); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, rgba(246,243,236,.045) 48px);
  pointer-events: none;
}
.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 88px;
}
.hero-kicker{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(180,135,46,.5);
  border-radius: 999px;
  padding: .4em 1em;
  margin-bottom: 1.4em;
}
.hero h1{
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  max-width: 14ch;
  margin-bottom: .38em;
}
.hero h1 em{ color: var(--gold); font-style: italic; }
.hero-lede{
  font-size: 1.1rem;
  color: #d7d0bd;
  max-width: 46ch;
  margin-bottom: 1.9em;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual{ position: relative; }
.hero-card{
  background: var(--card);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  transform: rotate(1.4deg);
}
.hero-card img{ border-radius: 4px; }
.hero-card figcaption{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8em .3em .1em;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 600;
}
.hero-badge{
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 116px; height: 116px;
  border-radius: 50%;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  background: rgba(246,243,236,.98);
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-11deg);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  padding: 10px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
.hero-badge b{ display: block; font-size: 1.5rem; }
.hero-badge span{ font-size: .62rem; font-family: var(--font-body); letter-spacing: .03em; text-transform: uppercase; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; padding: 48px 0 64px; gap: 40px; }
  .hero h1{ max-width: none; }
  .hero-visual{ max-width: 420px; }
  .hero-badge{ width: 92px; height: 92px; left: -12px; bottom: -18px; }
  .hero-badge b{ font-size: 1.15rem; }
}

/* ---------- Stat strip ---------- */
.stat-strip{
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.stat-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 30px 0;
}
.stat{ text-align: center; padding: 6px 10px; border-left: 1px solid var(--line); }
.stat:first-child{ border-left: none; }
.stat b{ display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--stamp); }
.stat span{ font-size: .82rem; color: var(--muted); }
@media (max-width: 700px){
  .stat-row{ grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stat:nth-child(3){ border-left: none; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section{ padding: 84px 0; }
.section + .section{ border-top: 1px solid var(--line); }
.section-alt{ background: var(--paper-2); }
.section-dark{ background: var(--ink); color: var(--paper); }
.section-dark h2{ color: #fff; }

.section-head{ max-width: 640px; margin-bottom: 46px; }
.section-tag{
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--stamp);
  border-bottom: 1.5px solid var(--stamp);
  padding-bottom: 4px;
  margin-bottom: 1em;
}
.section-dark .section-tag{ color: var(--gold); border-color: var(--gold); }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.15rem); }
.section-head p{ color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p{ color: #cfc8b6; }

@media (max-width: 720px){ .section{ padding: 56px 0; } }

/* ---------- Product / badge cards ---------- */
.card-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .card-grid{ grid-template-columns: 1fr; } }

.id-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.id-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(28,42,58,.45); }
.id-card-top{
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px);
}
.id-card-body{ padding: 28px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.id-card-icon{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--stamp);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.id-card-icon svg{ width: 22px; height: 22px; }
.id-card h3{ font-size: 1.2rem; margin-bottom: .5em; }
.id-card p{ color: var(--muted); font-size: .95rem; flex: 1; }
.id-card-link{
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: .9rem;
  color: var(--stamp);
}
.id-card-link svg{ width: 16px; height: 16px; transition: transform .18s var(--ease); }
.id-card:hover .id-card-link svg{ transform: translateX(3px); }

/* ---------- Checklist (feature lists) ---------- */
.checklist{ display: grid; gap: 14px; }
.checklist li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .98rem;
}
.checklist li:last-child{ border-bottom: none; }
.checklist .tick{
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(75,107,78,.12);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.checklist .tick svg{ width: 13px; height: 13px; }
.two-col{ display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 760px){ .two-col{ grid-template-columns: 1fr; } }

/* ---------- Numbered ledger steps ---------- */
.step-list{ display: grid; gap: 0; counter-reset: step; }
.step{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child{ border-bottom: none; }
.step-num{
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--card);
}
.step h4{ margin-bottom: .3em; font-size: 1.02rem; }
.step p{ color: var(--muted); font-size: .95rem; }

/* ---------- Split media/text section ---------- */
.split{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.split.reverse{ grid-template-columns: 1.05fr .95fr; }
.split.reverse .split-media{ order: 2; }
@media (max-width: 900px){
  .split, .split.reverse{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order: 0; }
}
.split-media figure{
  margin: 0;
  background: var(--ink);
  padding: 14px;
  border-radius: 10px;
}
.split-media img{ border-radius: 4px; }
.split-eyebrow{ color: var(--stamp); font-weight: 600; font-size: .84rem; margin-bottom: .8em; display: block; }

/* ---------- Callout box ---------- */
.callout{
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--stamp);
  border-radius: 4px;
  padding: 22px 24px;
  font-size: .95rem;
  color: var(--ink-2);
}
.callout b{ color: var(--stamp); }

/* ---------- Quote ---------- */
.quote-block{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  margin: 0 0 .8em;
}
.quote-block cite{ font-style: normal; color: var(--muted-2); font-size: .9rem; }

/* ==========================================================================
   References grid
   ========================================================================== */
.ref-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px){ .ref-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .ref-grid{ grid-template-columns: 1fr; } }

.ref-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-card);
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}
.ref-card .ref-media{ aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.ref-card img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.ref-card:hover img{ transform: scale(1.045); }
.ref-body{ padding: 18px 20px 20px; }
.ref-body h3{ font-size: 1.02rem; margin-bottom: .25em; }
.ref-loc{ color: var(--muted); font-size: .85rem; margin-bottom: .7em; }
.chip{
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3em .8em;
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(20,26,20,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 32px;
}
.lightbox.open{ display: flex; }
.lightbox figure{ margin: 0; max-width: min(900px, 92vw); max-height: 88vh; }
.lightbox img{ max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption{ color: #f1ede1; text-align: center; margin-top: 14px; font-size: .92rem; }
.lightbox-close{
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(246,243,236,.12);
  color: #fff;
  border: 1px solid rgba(246,243,236,.3);
  display: grid; place-items: center;
}
.lightbox-close svg{ width: 20px; height: 20px; }

/* ==========================================================================
   Downloads (indir.html)
   ========================================================================== */
.dl-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px){ .dl-grid{ grid-template-columns: 1fr; } }
.dl-card{
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  align-items: start;
}
.dl-thumb{
  width: 76px; height: 76px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.dl-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.dl-card h3{ font-size: 1.02rem; margin-bottom: .4em; }
.dl-actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: .9em; }
.dl-actions a{ font-size: .86rem; font-weight: 600; }
.dl-actions .link-secondary{ color: var(--muted); display: inline-flex; align-items: center; gap: .35em; }
.dl-actions .link-secondary svg{ width: 14px; height: 14px; }
.dl-actions .link-secondary:hover{ color: var(--stamp); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-info-card{
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 34px 30px;
}
.contact-info-card h3{ color: #fff; font-size: 1.2rem; }
.info-list{ display: grid; gap: 20px; margin-top: 22px; }
.info-list li{ display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico{
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(180,135,46,.5);
  color: var(--gold);
  display: grid; place-items: center;
}
.info-list .ico svg{ width: 17px; height: 17px; }
.info-list a, .info-list span{ color: #e7e2d4; font-size: .95rem; }
.info-list a:hover{ color: var(--gold); }
.info-list .label{ display: block; font-size: .74rem; color: #9c927b; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2em; }
.social-row{ display: flex; gap: 10px; margin-top: 26px; }
.social-row a{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(246,243,236,.3);
  display: grid; place-items: center;
  color: var(--paper);
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.social-row a:hover{ background: rgba(246,243,236,.1); border-color: var(--gold); color: var(--gold); }
.social-row svg{ width: 18px; height: 18px; }

.form-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px;
}
.form-row{ display: grid; gap: 8px; margin-bottom: 20px; }
.form-row label{ font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.form-row input,
.form-row textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: .97rem;
  padding: .85em 1em;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus{ border-color: var(--stamp); background: #fff; outline: none; }
.form-row textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: .82rem; color: var(--muted-2); margin-top: 14px; }
.form-status{ font-size: .88rem; margin-top: 14px; color: var(--ok); display: none; }
.form-status.show{ display: block; }

/* ==========================================================================
   About page
   ========================================================================== */
.notice-box{
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 22px 24px;
  font-size: .92rem;
  color: var(--muted);
}
.notice-box b{ color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--ink);
  color: #cfc8b6;
  padding-top: 64px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,243,236,.12);
}
@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-brand p{ color: #a89f89; font-size: .92rem; max-width: 34ch; margin-top: 14px; }
.footer-col h4{ color: #fff; font-size: .86rem; letter-spacing: .02em; margin-bottom: 1.1em; }
.footer-col ul{ display: grid; gap: 10px; }
.footer-col a{ color: #cfc8b6; font-size: .92rem; }
.footer-col a:hover{ color: var(--gold); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: .82rem;
  color: #968d78;
}
.footer-bottom a{ color: #968d78; }
.footer-bottom a:hover{ color: var(--gold); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero{
  background: var(--ink);
  color: var(--paper);
  padding: 58px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero::after{
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, rgba(246,243,236,.045) 48px);
  pointer-events: none;
}
.breadcrumb{
  position: relative;
  display: flex;
  gap: .5em;
  align-items: center;
  font-size: .84rem;
  color: #a89f89;
  margin-bottom: 18px;
}
.breadcrumb a:hover{ color: var(--gold); }
.page-hero h1{ position: relative; color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); max-width: 20ch; }
.page-hero .lede{ position: relative; color: #d7d0bd; max-width: 60ch; font-size: 1.05rem; margin-top: .6em; }

/* Skip link */
.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--stamp);
  color: #fff;
  padding: 12px 18px;
  border-radius: 4px;
  z-index: 999;
}
.skip-link:focus{ left: 16px; top: 16px; }

/* Utility */
.text-center{ text-align: center; }
.mt-lg{ margin-top: 40px; }
