/* Bregani — light-axis */

:root{
  --bg:#101a24;
  --bg-alt:#16232f;
  --bg-light:#e9edf0;
  --tx:#e3e9ee;
  --tx-dim:#8b9aa6;
  --tx-dark:#101a24;
  --ac:#3fb3ae;
  --ac2:#d8a15a;
  --step:80px;
  --gap:28px;
}

*{box-sizing:border-box;}

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

body{
  margin:0;
  background:var(--bg);
  color:var(--tx);
  font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:18px;
  line-height:1.9;
  overflow-x:hidden;
}

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

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

h1,h2,h3{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  line-height:1.3;
  margin:0;
}

p{margin:0 0 1.5em;}
p:last-child{margin-bottom:0;}

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

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

.sec--light a:focus-visible{outline-color:#1d7b78;}

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

.site-head{
  padding:26px 0 22px;
  border-bottom:1px solid rgba(139,154,166,.22);
}

.head-row{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:14px 32px;
}

.brand{
  font-family:Georgia,'Times New Roman',serif;
  font-size:22px;
  letter-spacing:.06em;
  color:var(--tx);
  text-decoration:none;
}
.brand:hover{color:var(--ac);}

.nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px 26px;
}

.nav a{
  color:var(--tx-dim);
  text-decoration:none;
  font-size:16px;
}
.nav a:hover{color:var(--ac);}
.nav a[aria-current="page"]{
  color:var(--tx);
  border-bottom:1px solid var(--ac);
  padding-bottom:2px;
}

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

.hero{
  padding:calc(var(--step) - 8px) 0 var(--step);
}

.hero-title{
  grid-column:1 / span 7;
  font-size:clamp(30px,4.4vw,50px);
  max-width:15em;
}

.axis{
  grid-column:1 / span 7;
  margin-top:34px;
}

.axis-line{
  height:1px;
  background:var(--ac);
  width:100%;
}

.axis-drops{
  display:flex;
  gap:56px;
  padding-left:6px;
}

.drop{
  width:1px;
  background:var(--ac);
  position:relative;
}
.drop::after{
  content:"";
  position:absolute;
  left:-3.5px;
  bottom:-8px;
  width:8px;
  height:8px;
  background:var(--ac);
}
.drop:nth-child(1){height:54px;}
.drop:nth-child(2){height:30px;}
.drop:nth-child(3){height:78px;background:var(--ac2);}
.drop:nth-child(3)::after{background:var(--ac2);}

.hero-lead{
  grid-column:9 / span 4;
  color:var(--tx-dim);
  font-size:17px;
  line-height:1.85;
}

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

.figure-main{
  margin:0 0 var(--step);
}

.figure-main img{
  grid-column:4 / span 9;
  width:100%;
  height:auto;
  display:block;
}

.figure-main figcaption{
  grid-column:1 / span 3;
  grid-row:1;
  color:var(--tx-dim);
  font-size:14px;
  line-height:1.6;
  align-self:end;
  padding-bottom:4px;
}

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

.sec{
  padding:var(--step) 0;
}
.sec--alt{background:var(--bg-alt);}
.sec--light{
  background:var(--bg-light);
  color:var(--tx-dark);
}
.sec--light .sec-title{color:var(--tx-dark);}
.sec--light a{color:#1d7b78;}
.sec--light .caption{color:#4a5a66;}

.sec-title{
  grid-column:1 / span 3;
  font-size:24px;
  position:relative;
}

.sec-title::before{
  content:"";
  position:absolute;
  left:-18px;
  top:.62em;
  width:8px;
  height:8px;
  background:var(--ac2);
}

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

.sec-body > *:first-child{margin-top:0;}

h3{
  font-size:20px;
  margin:2.2em 0 .7em;
  color:var(--tx);
}
.sec--light h3{color:var(--tx-dark);}

ul.checks,
ol.steps{
  margin:0 0 1.6em;
  padding-left:0;
  list-style:none;
}

ul.checks li{
  position:relative;
  padding-left:24px;
  margin-bottom:.8em;
}
ul.checks li::before{
  content:"";
  position:absolute;
  left:0;
  top:.75em;
  width:7px;
  height:7px;
  background:var(--ac);
}

ol.steps{
  counter-reset:s;
}
ol.steps li{
  position:relative;
  padding-left:38px;
  margin-bottom:.9em;
  counter-increment:s;
}
ol.steps li::before{
  content:counter(s,decimal-leading-zero);
  position:absolute;
  left:0;
  top:0;
  color:var(--ac2);
  font-size:14px;
  letter-spacing:.08em;
}

.caption{
  color:var(--tx-dim);
  font-size:14px;
  line-height:1.6;
}

/* ---------- detail figure inside light section ---------- */

.detail-row{
  align-items:start;
}

.figure-detail{
  grid-column:1 / span 5;
  margin:0;
}
.figure-detail img{
  width:100%;
  height:auto;
  display:block;
}
.figure-detail figcaption{
  margin-top:12px;
  font-size:14px;
  line-height:1.6;
  color:#4a5a66;
}

.detail-text{
  grid-column:7 / span 6;
}
.detail-text h2{
  font-size:24px;
  margin-bottom:1em;
}

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

.contact-mail{
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(20px,2.6vw,28px);
  word-break:break-word;
}

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

.about-grid{
  position:relative;
  padding:var(--step) 0;
}

.about-col-head{
  grid-column:1 / span 3;
}

.about-col-head h2{
  font-size:22px;
  margin:0 0 1.4em;
}

.about-body{
  grid-column:5 / span 7;
  border-left:1px solid rgba(139,154,166,.28);
  padding-left:32px;
}

.about-body section + section{margin-top:56px;}
.about-body h2{
  font-size:24px;
  margin-bottom:.8em;
}

/* ---------- legal text pages ---------- */

.doc{
  padding:var(--step) 0;
}
.doc-title{
  grid-column:1 / span 8;
  font-size:clamp(26px,3.4vw,38px);
  margin-bottom:14px;
}
.doc-intro{
  grid-column:1 / span 7;
  color:var(--tx-dim);
  font-size:16px;
}
.doc-body{
  grid-column:1 / span 8;
  margin-top:48px;
}
.doc-body h2{
  font-size:23px;
  margin:2.4em 0 .8em;
  position:relative;
}
.doc-body h2::before{
  content:"";
  position:absolute;
  left:-18px;
  top:.62em;
  width:8px;
  height:8px;
  background:var(--ac2);
}
.doc-body > h2:first-child{margin-top:0;}

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

.site-foot{
  background:var(--bg-alt);
  padding:56px 0 48px;
  margin-top:0;
}

.foot-top{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:baseline;
  gap:10px 32px;
}

.foot-name{
  font-family:Georgia,'Times New Roman',serif;
  font-size:26px;
}

.foot-rule{
  height:1px;
  background:rgba(139,154,166,.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(--tx-dim);
  text-decoration:none;
  font-size:16px;
}
.foot-links a:hover{color:var(--ac);}

.foot-note{
  color:var(--tx-dim);
  font-size:14px;
  max-width:62ch;
  margin:0;
}

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

@media (max-width:900px){
  :root{--step:48px;--gap:20px;}
  body{font-size:17px;line-height:1.8;}
  .wrap{padding:0 20px;}
  .grid{grid-template-columns:1fr;}

  .hero-title,
  .axis,
  .hero-lead,
  .sec-title,
  .sec-body,
  .about-col-head,
  .about-body,
  .figure-detail,
  .detail-text,
  .doc-title,
  .doc-intro,
  .doc-body{
    grid-column:1;
  }

  .hero-lead{margin-top:34px;}

  .figure-main img{grid-column:1;grid-row:1;}
  .figure-main figcaption{
    grid-column:1;
    grid-row:2;
    margin-top:12px;
    padding-bottom:0;
  }

  .sec-title{margin-bottom:20px;}
  .sec-title::before,
  .doc-body h2::before{left:0;top:-16px;}
  .sec-title,
  .doc-body h2{padding-top:6px;}

  .about-body{
    border-left:0;
    padding-left:0;
    border-top:1px solid rgba(139,154,166,.28);
    padding-top:26px;
  }

  .detail-text{margin-top:34px;}

  .axis-drops{gap:38px;}
}

.about-col-head h1{
  font-size:clamp(24px,2.8vw,30px);
  margin:0 0 18px;
}
