/* Saborvobro — light-axis */

:root{
  --bg:#eef4f1;
  --bg-alt:#dfeae5;
  --bg-dark:#1c2a28;
  --ink:#16211f;
  --ink-soft:#5f7370;
  --ink-inv:#eef4f1;
  --accent:#2f6f63;
  --accent-2:#c25340;
  --sans:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --serif:Georgia,"Times New Roman",serif;
}

*{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}
a:hover{text-decoration-thickness:2px}

:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dark :focus-visible,.site-footer :focus-visible{outline-color:var(--ink-inv)}

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

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

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

.site-header{
  border-bottom:0;
  padding:26px 0 22px;
  background:var(--bg);
}
.head-row{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:12px 28px;
}
.brand{
  font-family:var(--serif);
  font-size:20px;
  letter-spacing:.01em;
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
}
.brand:hover{color:var(--accent)}
.site-nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin:0;
  padding:0;
}
.site-nav a{
  font-size:15px;
  color:var(--ink-soft);
  text-decoration:none;
  padding-bottom:2px;
  border-bottom:1px solid transparent;
}
.site-nav a:hover,.site-nav a[aria-current="page"]{
  color:var(--ink);
  border-bottom-color:var(--accent);
}

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

.hero{padding:64px 0 0}
.hero h1{
  grid-column:1 / 8;
  font-family:var(--serif);
  font-weight:700;
  font-size:clamp(34px,5.1vw,60px);
  line-height:1.06;
  letter-spacing:-.015em;
  margin:0;
  max-width:14ch;
}
.hero-lead{
  grid-column:9 / 13;
  margin:8px 0 0;
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.75;
}
.hero-lead strong{color:var(--ink);font-weight:600}

.axis{
  grid-column:1 / 8;
  position:relative;
  height:72px;
  margin-top:34px;
  border-top:2px solid var(--accent);
}
.axis i{
  position:absolute;
  top:0;
  width:1px;
  background:var(--accent);
  color:var(--accent);
}
.axis i::after{
  content:"";
  position:absolute;
  left:-4px;
  bottom:-8px;
  width:8px;
  height:8px;
  background:currentColor;
}
.axis i:nth-child(1){left:4%;height:34px}
.axis i:nth-child(2){left:33%;height:64px;background:var(--accent-2);color:var(--accent-2)}
.axis i:nth-child(3){left:71%;height:22px}

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

.figure-main{
  margin:34px 0 0;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  column-gap:28px;
}
.figure-main img{grid-column:4 / 13;width:100%}
.figure-main figcaption{
  grid-column:1 / 4;
  align-self:end;
  font-size:12px;
  line-height:1.6;
  color:var(--accent-2);
  padding-bottom:2px;
}

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

.section{padding:80px 0}
.section--alt{background:var(--bg-alt)}
.dark{background:var(--bg-dark);color:var(--ink-inv)}
.dark a{color:#9fd0c5}

.section h2{
  grid-column:1 / 4;
  font-family:var(--serif);
  font-weight:700;
  font-size:21px;
  line-height:1.3;
  letter-spacing:0;
  margin:0;
  padding-top:1px;
  position:relative;
}
.section h2::before{
  content:"";
  position:absolute;
  left:-20px;
  top:10px;
  width:8px;
  height:8px;
  background:var(--accent-2);
}
.section .body{grid-column:5 / 12}
.section .body > :first-child{margin-top:0}
.section .body > :last-child{margin-bottom:0}
.section p{margin:0 0 20px;max-width:68ch}
.section h3{
  font-family:var(--serif);
  font-weight:700;
  font-size:17px;
  line-height:1.4;
  margin:30px 0 10px;
}

.list{margin:0 0 22px;padding:0 0 0 20px}
.list li{margin:0 0 9px}
.list li::marker{color:var(--accent)}

.checklist{list-style:none;margin:0 0 22px;padding:0}
.checklist li{
  position:relative;
  padding-left:24px;
  margin:0 0 10px;
}
.checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  width:8px;
  height:8px;
  background:var(--accent);
}

.note{
  font-size:12px;
  line-height:1.7;
  color:var(--ink-soft);
  max-width:60ch;
}
.dark .note{color:#a9c0bb}

dl.terms{margin:0 0 22px}
dl.terms dt{font-weight:600;margin:18px 0 2px}
dl.terms dt:first-child{margin-top:0}
dl.terms dd{margin:0;color:var(--ink)}

/* ---------- contrast section with detail image ---------- */

.detail-figure{
  grid-column:1 / 6;
  margin:0;
}
.detail-figure img{width:100%}
.detail-figure figcaption{
  margin-top:12px;
  font-size:12px;
  line-height:1.6;
  color:#c98d80;
}
.detail-text{grid-column:7 / 13}
.detail-text h2{
  font-family:var(--serif);
  font-weight:700;
  font-size:26px;
  line-height:1.25;
  margin:0 0 20px;
}
.detail-text p{margin:0 0 20px;max-width:56ch}
.detail-text .checklist li::before{background:#9fd0c5}

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

.contact-line{
  font-size:19px;
  font-family:var(--serif);
}

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

.about-grid{position:relative}
.about-grid::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:33.3%;
  width:1px;
  background:#c3d6d0;
}
.about-block{
  display:contents;
}
.about-grid h2{
  grid-column:1 / 4;
  font-family:var(--serif);
  font-weight:700;
  font-size:21px;
  line-height:1.3;
  margin:0;
  padding-top:1px;
}
.about-grid .body{
  grid-column:5 / 12;
  padding-bottom:44px;
}
.about-grid .body p{margin:0 0 20px;max-width:66ch}
.about-grid .body > :last-child{margin-bottom:0}

.page-head{padding:56px 0 0}
.page-head h1{
  grid-column:1 / 9;
  font-family:var(--serif);
  font-weight:700;
  font-size:clamp(30px,4.2vw,46px);
  line-height:1.1;
  letter-spacing:-.01em;
  margin:0 0 18px;
}
.page-head .standfirst{
  grid-column:1 / 9;
  color:var(--ink-soft);
  margin:0;
  max-width:62ch;
}
.page-head .rule{
  grid-column:1 / 13;
  height:2px;
  background:var(--accent);
  margin:32px 0 0;
}

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

.site-footer{
  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 28px;
}
.foot-name{
  font-family:var(--serif);
  font-size:28px;
  font-weight:700;
  margin:0;
}
.foot-mail{font-size:16px}
.foot-mail a{color:#9fd0c5}
.foot-rule{
  height:1px;
  background:#3a4d4a;
  margin:22px 0 20px;
}
.foot-nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px 26px;
  margin:0 0 16px;
  padding:0;
}
.foot-nav a{color:var(--ink-inv);text-decoration:none;font-size:15px}
.foot-nav a:hover{text-decoration:underline}
.foot-about{
  margin:0;
  font-size:13px;
  line-height:1.7;
  color:#a9c0bb;
  max-width:70ch;
}

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

@media (max-width:900px){
  .hero{padding:44px 0 0}
  .hero h1,.hero-lead,.axis{grid-column:1 / 13;max-width:none}
  .hero-lead{margin-top:26px}
  .axis{height:56px;margin-top:28px}
  .figure-main{display:block;margin-top:28px}
  .figure-main figcaption{margin-top:10px}
  .section{padding:48px 0}
  .section h2{grid-column:1 / 13;margin-bottom:18px}
  .section h2::before{left:0;top:-16px}
  .section .body{grid-column:1 / 13}
  .detail-figure,.detail-text{grid-column:1 / 13}
  .detail-text{margin-top:28px}
  .about-grid::before{display:none}
  .about-grid h2{grid-column:1 / 13;margin-bottom:14px}
  .about-grid .body{grid-column:1 / 13;padding-bottom:34px}
  .page-head{padding:36px 0 0}
  .page-head h1,.page-head .standfirst,.page-head .rule{grid-column:1 / 13}
}

@media (max-width:560px){
  .wrap{padding:0 20px}
  body{font-size:16px}
  .section h2{padding-top:0}
  .foot-name{font-size:24px}
}
