/* Brodegantivo — light-axis */

:root{
  --bg:#f6f0e6;
  --bg-alt:#eadcc6;
  --bg-dark:#4a2b1b;
  --ink:#2c1f15;
  --ink-soft:#7c6a55;
  --ink-inv:#f6f0e6;
  --accent:#a9631d;
  --accent2:#2a3f63;
  --serif:Georgia,'Times New Roman',serif;
  --sans:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --step:80px;
  --gap:24px;
}

*{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.8;
  overflow-x:hidden;
}

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

a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}

a:focus-visible,
button:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}

/* ---------- grid ---------- */

.wrap{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 28px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:var(--gap);
}

/* ---------- typography ---------- */

h1,h2,h3{font-family:var(--serif);font-weight:700;margin:0}

h1{
  font-size:clamp(38px,6.2vw,68px);
  line-height:1.06;
  letter-spacing:-.015em;
}

h2{
  font-size:clamp(21px,2.4vw,27px);
  line-height:1.25;
}

h3{
  font-size:18px;
  line-height:1.35;
  margin:0 0 8px;
}

p{margin:0 0 20px}
p:last-child{margin-bottom:0}

.lead{font-size:18px;line-height:1.75}

.cap{
  font-family:var(--sans);
  font-size:12px;
  line-height:1.6;
  color:var(--ink-soft);
  letter-spacing:.02em;
}

.num{
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent2);
  display:block;
  margin-bottom:10px;
}

/* ---------- header / nav ---------- */

.site-head{
  padding:22px 0 18px;
  background:var(--bg);
}

.head-in{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:12px 28px;
}

.brand{
  font-family:var(--serif);
  font-size:22px;
  font-weight:700;
  letter-spacing:.01em;
  color:var(--ink);
  text-decoration:none;
}
.brand:hover{color:var(--accent)}

.site-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:6px 22px;
}

.site-nav a{
  font-size:14px;
  letter-spacing:.02em;
  color:var(--ink);
  text-decoration:none;
  padding:4px 0;
  display:inline-block;
  border-bottom:1px solid transparent;
}
.site-nav a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.site-nav a[aria-current="page"]{border-bottom-color:var(--accent);color:var(--accent)}

/* ---------- hero ---------- */

.hero{padding:56px 0 var(--step)}

.hero-title{grid-column:1 / span 7}

.axis{margin-top:34px}
.axis-bar{height:2px;background:var(--accent);width:100%}
.axis-drops{display:flex;gap:64px;padding-left:6px}
.drop{width:1px;background:var(--accent2);position:relative}
.drop::after{
  content:"";
  position:absolute;
  left:-3.5px;bottom:-8px;
  width:8px;height:8px;
  background:var(--accent);
}
.drop.a{height:56px}
.drop.b{height:30px}
.drop.c{height:78px}

.hero-intro{grid-column:9 / span 4;align-self:start}
.hero-intro p{font-size:17px}

/* ---------- main image ---------- */

.figure-main{
  margin:0;
  grid-column:4 / span 9;
}
.figure-main img{width:100%}
.figure-main figcaption{margin-top:12px;max-width:60ch}

.band-image{padding-bottom:var(--step);background:var(--bg)}

/* ---------- sections ---------- */

.band{padding:var(--step) 0}
.band-alt{background:var(--bg-alt)}
.band-dark{background:var(--bg-dark);color:var(--ink-inv)}
.band-dark h2,.band-dark h3{color:var(--ink-inv)}
.band-dark .cap{color:#cbb59a}
.band-dark .num{color:#c9a06a}
.band-dark a{color:#e0a55e}

.sec-head{
  grid-column:1 / span 3;
  position:relative;
  padding-left:20px;
}
.sec-head::before{
  content:"";
  position:absolute;
  left:0;top:.55em;
  width:8px;height:8px;
  background:var(--accent);
}
.band-dark .sec-head::before{background:#e0a55e}

.sec-body{grid-column:5 / span 7}

.sub{margin-top:38px}
.sub:first-of-type{margin-top:0}

/* lists */

.list{list-style:none;margin:0 0 20px;padding:0}
.list li{
  position:relative;
  padding-left:22px;
  margin-bottom:10px;
}
.list li::before{
  content:"";
  position:absolute;
  left:0;top:.72em;
  width:6px;height:6px;
  background:var(--accent);
}
.band-dark .list li::before{background:#e0a55e}

.list-num{
  margin:0 0 20px;
  padding-left:22px;
}
.list-num li{margin-bottom:10px}
.list-num li::marker{color:var(--accent2);font-size:14px}

/* dark section with detail image */

.detail-figure{
  margin:0;
  grid-column:8 / span 5;
}
.detail-figure img{width:100%}
.detail-figure figcaption{margin-top:12px}

.detail-text{grid-column:1 / span 6}

/* ---------- about layout ---------- */

.about-grid{position:relative}
.about-rail{
  grid-column:1 / span 3;
  padding-right:24px;
  border-right:1px solid rgba(44,31,21,.22);
}
.about-body{grid-column:5 / span 7}
.about-body h2{margin-top:34px}
.about-body h2:first-child{margin-top:0}
.about-body h2 + p{margin-top:12px}

/* ---------- legal / doc pages ---------- */

.doc-head{padding:44px 0 40px}
.doc-head h1{grid-column:1 / span 8}
.doc-head .doc-sub{grid-column:1 / span 7;margin-top:22px}
.doc-head .axis{margin-top:28px}

.doc-body{grid-column:5 / span 7}
.doc-body h2{margin:38px 0 12px}
.doc-body h2:first-child{margin-top:0}
.doc-body h3{margin:24px 0 8px}

.doc-rail{
  grid-column:1 / span 3;
  padding-right:24px;
  border-right:1px solid rgba(44,31,21,.22);
}
.doc-rail p{font-size:12px;line-height:1.7;color:var(--ink-soft)}

/* ---------- contact block ---------- */

.contact-line{
  font-family:var(--serif);
  font-size:clamp(20px,3vw,30px);
  line-height:1.3;
  margin:0 0 16px;
}

/* ---------- footer ---------- */

.site-foot{
  background:var(--bg-dark);
  color:var(--ink-inv);
  padding:56px 0 44px;
  margin-top:0;
}
.foot-top{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:10px 24px;
}
.foot-name{
  font-family:var(--serif);
  font-size:26px;
  font-weight:700;
}
.foot-mail a{color:#e6b57a;font-size:17px}
.foot-rule{
  height:1px;
  background:rgba(246,240,230,.3);
  margin:22px 0 20px;
}
.foot-links{
  list-style:none;
  margin:0 0 18px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px 26px;
}
.foot-links a{color:var(--ink-inv);text-decoration:none;font-size:14px;border-bottom:1px solid transparent}
.foot-links a:hover{color:#e6b57a;border-bottom-color:#e6b57a}
.foot-note{
  font-size:12px;
  line-height:1.7;
  color:#cbb59a;
  max-width:70ch;
  margin:0;
}

/* ---------- responsive ---------- */

@media (max-width:900px){
  :root{--step:56px;--gap:18px}
  .hero-title,.hero-intro{grid-column:1 / span 12}
  .hero-intro{margin-top:26px}
  .figure-main{grid-column:2 / span 11}
  .sec-head,.sec-body,.detail-text,.detail-figure,
  .about-rail,.about-body,.doc-rail,.doc-body,
  .doc-head h1,.doc-head .doc-sub{grid-column:1 / span 12}
  .sec-body,.about-body,.doc-body{margin-top:20px}
  .about-rail,.doc-rail{border-right:0;padding-right:0}
  .detail-figure{margin-bottom:26px}
  .detail-text{grid-row:2}
}

@media (max-width:600px){
  :root{--step:48px}
  body{font-size:16px;line-height:1.75}
  .wrap{padding:0 18px}
  .hero{padding:34px 0 var(--step)}
  .figure-main{grid-column:1 / span 12}
  .axis-drops{gap:38px}
  .site-nav ul{gap:4px 16px}
  .foot-top{display:block}
  .foot-mail{margin-top:6px}
}
