:root {
  --ink: #1a1d21;
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --copper: #a9784e;
  --muted: #6a7078;
  --line: rgba(26, 29, 33, .12);
  --sans: "Poppins", sans-serif;
  --pad: clamp(1.2rem, 4vw, 4rem);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html, body, h1, h2, h3, p, a, button, input, textarea, label, li, span, strong, em {
  font-family: "Poppins", sans-serif;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open, body.mdl-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
header[id], section[id], article[id] { scroll-margin-top: 0; }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: 0 var(--pad);
  color: #f4f1ea;
}
.nav.is-solid { background: var(--ink); }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.nav-end { display: flex; align-items: center; gap: 1.4rem; }
.nav-list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.lang-switch { display: flex; align-items: center; gap: .35rem; }
.lang-switch a {
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .12em;
  opacity: .55;
  padding: .2rem .15rem;
}
.lang-switch a.is-on { opacity: 1; }
.nav-list a {
  text-decoration: none; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; opacity: .7;
}
.nav-list a.is-active, .nav-list a:hover { opacity: 1; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  color: inherit; position: relative; cursor: pointer; z-index: 52;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.ico { color: var(--copper); display: inline-flex; }
.ico-hero { margin-bottom: 1.2rem; }
.ico-hero svg { width: 42px; height: 42px; }
.ico-sm svg { width: 36px; height: 36px; }

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: #f4f1ea;
  display: grid;
  place-items: center;
  padding: 7rem var(--pad) 4rem;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/CT_Bg.jpg") center/cover no-repeat;
  opacity: .4;
}
.hero-inner { position: relative; z-index: 1; max-width: 980px; }
.hero-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.hero h1 {
  margin: .4rem 0 1.1rem;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
}
.kicker {
  margin: 0 0 .7rem;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
}
.kicker.light { color: #d4b48c; }
.lead { margin: 0 auto; max-width: 54rem; color: var(--muted); }
.hero .lead { color: rgba(244,241,234,.72); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .7rem 1.2rem;
  border: 1px solid transparent; text-decoration: none;
  font-size: .78rem; letter-spacing: .06em; cursor: pointer; background: none;
}
.btn-fill { background: var(--copper); color: var(--ink); border-color: var(--copper); }
.btn-line { border-color: rgba(244,241,234,.35); color: inherit; }
.btn-line.dark { border-color: var(--ink); color: var(--ink); }

.arrow-down {
  display: inline-flex; margin-top: 2rem; color: var(--copper); text-decoration: none;
}
.item > .arrow-down, .headline .arrow-down { display: flex; justify-content: center; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.prose p { margin: 0 0 1rem; }

.teaser { padding: 6.5rem 0; }
.teaser h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 400;
  max-width: 28ch;
}
.teaser .prose { max-width: 72rem; }

.headline {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink);
  color: #f4f1ea;
  padding: 6rem var(--pad);
}
.headline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/CT_Bg.jpg") center/cover no-repeat;
  opacity: .4;
}
.headline > .wrap { position: relative; z-index: 1; max-width: 960px; }
.headline.light {
  background: var(--paper);
  color: var(--ink);
}
.headline.light::before { display: none; }
.headline h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
}
.headline .lead { color: rgba(244,241,234,.7); }
.headline.light .lead { color: var(--muted); }

.item {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad) 3rem;
}
.item-alt { background: var(--paper-2); }
.row {
  display: grid;
  grid-template-columns: minmax(240px, 400px) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.copy { min-width: 0; }
.visual {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity .8s ease, transform .8s ease;
}
.switch {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 400px);
}
.switch .visual {
  order: 2;
  transform: translateX(56px);
}
.item.is-in .visual { opacity: 1; transform: none; }
.shot {
  margin: 0;
  width: 440px;
  height: 440px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: none;
}
.copy h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
}
.checks { list-style: none; padding: 0; margin: 1.2rem 0; }
.checks li { position: relative; padding-left: 1.2rem; margin: .35rem 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .75em;
  width: .55rem; height: 1px; background: var(--copper);
}

.page-nav {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%);
  z-index: 30; display: flex; flex-direction: column; gap: 12px;
}
.page-nav a {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--ink);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--copper); flex: 0 0 8px;
}
.page-nav a.is-active .dot { background: var(--copper); }
.dot-title {
  font-size: .68rem; letter-spacing: .04em; opacity: 0;
  max-width: 0; overflow: hidden; white-space: nowrap;
  transition: .2s ease;
}
.page-nav a:hover .dot-title, .page-nav a.is-active .dot-title {
  opacity: .8; max-width: 220px;
}

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.case {
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}
.case h3 { margin: .4rem 0 1rem; font-size: 1.25rem; font-weight: 500; }
.case p { color: var(--muted); font-size: .95rem; }
.case strong { color: var(--ink); font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.meta { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.meta li { margin: 0 0 .9rem; }
.meta span {
  display: block; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--copper); margin-bottom: .15rem;
}
.social { display: flex; gap: .5rem; margin-top: 1.4rem; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); text-decoration: none;
}
.social a:hover { background: var(--ink); color: var(--paper); }
.form {
  display: grid; gap: .85rem; padding: 1.4rem;
  border: 1px solid var(--line); background: rgba(255,255,255,.35);
}
.form label { display: grid; gap: .3rem; font-size: .84rem; }
.form input, .form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink);
  background: transparent; padding: .5rem 0; outline: none; font-size: 16px;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form { position: relative; }
.form-status { margin: 0; font-size: .88rem; }
.form-status.ok { color: #3d5a3a; }
.form-status.err { color: #8a2f2f; }

.mdl-overlay {
  display: none; position: fixed; inset: 0; z-index: 70;
  background: rgba(26,29,33,.55); place-items: center; padding: 1.2rem;
}
.mdl-overlay.is-open { display: grid; }
.mdl {
  background: var(--paper); color: var(--ink);
  max-width: 640px; width: 100%; max-height: 86vh; overflow: auto;
  padding: 2rem 1.6rem 1.6rem; position: relative;
}
.mdl-close {
  position: absolute; top: .6rem; right: .8rem;
  border: 0; background: none; font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.mdl h3 { margin: 0 1.5rem 1rem 0; font-weight: 500; }

.footer {
  background: var(--ink); color: rgba(244,241,234,.55);
  padding: 1.3rem var(--pad);
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 1rem;
  max-width: var(--max); margin: 0 auto;
}
.footer a { color: #d4b48c; text-decoration: none; }

@media (max-width: 900px) {
  .row, .switch, .cases, .contact-grid { grid-template-columns: 1fr; }
  .switch .visual { order: -1; transform: translateY(28px); }
  .visual { transform: translateY(28px); }
  .item.is-in .visual { transform: none; }
  .brand-logo { height: 34px; }
  .hero-mark { width: 36px; height: 36px; }
  .shot { width: 320px; height: 320px; }
  .page-nav { display: none; }
  .nav-toggle { display: block; }
  .nav { background: var(--ink); }
  .nav-end { gap: .6rem; }
  .nav-list {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    margin: 0; padding: 5rem 1.5rem 2rem; background: var(--ink);
    transform: translateX(100%); visibility: hidden; gap: 0;
  }
  .nav-list.is-open { transform: none; visibility: visible; }
  .lang-switch { position: relative; z-index: 53; }
  .nav-list a { display: block; padding: 1rem 0; font-size: .95rem; opacity: 1; border-bottom: 1px solid rgba(244,241,234,.12); }
  .brand em { display: none; }
  .hero, .headline, .item { min-height: auto; padding: 5.5rem var(--pad) 2.5rem; }
  .hero { padding-top: 6.2rem; }
  .hero-actions { flex-direction: column; }
  .teaser { padding: 3.4rem 0; }
}
