/* lihetra. — site styles */
:root {
  --bone: #f4efe7;
  --bone-2: #ebe3d6;
  --paper: #fbf8f3;
  --ink: #17140f;
  --ink-2: #4a443b;
  --muted: #857c6f;
  --line: #d9cfbf;
  --copper: #b4582b;
  --copper-dark: #8f431f;
  --teal: #2e6a66;
  --night: #14110d;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
em, .it { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- brand ---------- */
.brand {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}
.brand .dot { color: var(--copper); font-weight: 800; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--copper);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }
.nav-links .btn, .nav-links .btn:hover { color: var(--bone); padding: 11px 20px; }
.nav-links .btn:hover { color: #fff; }
.nav-links .btn::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a { display: block; padding: 16px 0; font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; padding: 15px 26px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--bone); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.btn-small { padding: 11px 20px; font-size: 12.5px; }
.btn-light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-light:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--copper); border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
}
.link-arrow:hover { color: var(--copper-dark); }

/* ---------- common ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.display { font-size: clamp(44px, 7.4vw, 104px); }
.h2 { font-size: clamp(38px, 5.2vw, 68px); }
.h3 { font-size: clamp(28px, 3vw, 38px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.copper { color: var(--copper); }

.photo { border-radius: var(--radius); overflow: hidden; background: var(--bone-2); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(56px, 9vw, 132px); line-height: .92; }
.hero-title .brand-word { font-family: var(--sans); font-weight: 200; letter-spacing: -0.04em; }
.hero-title .brand-word .dot { color: var(--copper); font-weight: 800; }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--teal); margin: 18px 0 28px; line-height: 1.1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photo { aspect-ratio: 4 / 5; position: relative; }
.hero-photo .photo { position: absolute; inset: 0; }
.hero-photo .photo img { object-position: 64% 30%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--copper); border-radius: var(--radius);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 36px; z-index: 2; background: var(--paper); border-radius: 14px;
  padding: 16px 20px; box-shadow: 0 18px 50px -20px rgba(23,20,15,.35); display: flex; gap: 14px; align-items: center;
}
.hero-badge strong { font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: 1; color: var(--copper); }
.hero-badge span { font-size: 13px; line-height: 1.35; color: var(--ink-2); font-weight: 600; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center;
  color: var(--ink-2); transition: all .25s;
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.socials svg { width: 18px; height: 18px; }
.hero-meta { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta small { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; width: calc(100% - 22px); }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo.tall { aspect-ratio: 4 / 5; }
.split .photo.wide { aspect-ratio: 5 / 4; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.signature { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--copper); margin: 8px 0 26px; }

/* ---------- dark band ---------- */
.band-dark { background: var(--night); color: var(--bone); }
.band-dark .lead, .band-dark p { color: #cfc6b8; }
.band-dark .eyebrow { color: #e0885a; }

.concept-hero { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; }
.concept-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.concept-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,.15) 0%, rgba(20,17,13,.35) 45%, rgba(20,17,13,.88) 100%); }
.concept-hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); color: var(--bone); }
.concept-hero .lead { color: #e7dfd2; max-width: 620px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244,239,231,.18); margin-top: 56px; }
.pillar { padding: 34px 28px 10px 0; border-right: 1px solid rgba(244,239,231,.18); }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar .num { font-family: var(--serif); font-size: 18px; color: #e0885a; font-style: italic; }
.pillar h3 { font-size: 34px; margin: 10px 0 12px; color: var(--bone); }
.pillar p { font-size: 15px; }
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 18px 14px 0; border-right: 0; border-bottom: 1px solid rgba(244,239,231,.18); }
  .pillar:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgba(244,239,231,.18); }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- services cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lead { max-width: 480px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 18px; }
.card .photo { aspect-ratio: 3 / 4; }
.card .photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .photo img { transform: scale(1.05); }
.card .idx { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 18px; }
.card h3 { font-size: 30px; margin-top: 2px; }
.card p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.service { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(48px, 6vw, 84px) 0; border-top: 1px solid var(--line); }
.service:nth-child(even) > .photo { order: 2; }
.service .photo { aspect-ratio: 4 / 3; }
.service .idx { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 22px; display: block; margin-bottom: 10px; }
.service h2 { font-size: clamp(38px, 4.4vw, 58px); margin-bottom: 22px; }
.service .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; padding: 0; list-style: none; }
.service .tags li { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; padding: 7px 14px; border-radius: 999px; background: var(--bone-2); color: var(--ink-2); }
@media (max-width: 880px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) > .photo { order: 0; }
}

/* ---------- features (why lihetra) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .3s; }
.feature:hover { background: var(--bone-2); }
.feature svg { width: 34px; height: 34px; color: var(--copper); margin-bottom: 22px; }
.feature h3 { font-size: 30px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- featured on ---------- */
.featured { padding: 56px 0; background: var(--night); }
.featured-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; justify-content: space-between; }
.featured-label { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--bone); white-space: nowrap; }
.logos { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.logos img { height: 64px; width: auto; border-radius: 10px; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; }
.logos img:hover { filter: none; opacity: 1; }
@media (max-width: 700px) { .logos { justify-content: flex-start; } .logos img { height: 52px; } }

/* ---------- page header ---------- */
.page-head { padding: clamp(48px, 7vw, 100px) 0 clamp(40px, 5vw, 72px); }
.page-head .display { max-width: 12ch; }
.page-head .lead { max-width: 640px; margin-top: 26px; }

.quote {
  font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; margin: 0;
  padding-left: 28px; border-left: 2px solid var(--copper);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0 34px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; color: var(--copper); }
.stats span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 26px; background: var(--copper); color: #fff; padding: clamp(44px, 6vw, 84px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(40px, 5vw, 70px); }
.cta p { color: #fbe7dc; margin: 18px 0 0; max-width: 520px; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-self: end; }
.cta .btn { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.cta .btn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.cta .btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.cta::after { content: "."; position: absolute; right: -30px; bottom: -190px; font-family: var(--sans); font-weight: 800; font-size: 520px; line-height: 1; color: rgba(255,255,255,.08); pointer-events: none; }
@media (max-width: 880px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-self: start; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--copper); }
.form { background: var(--paper); border-radius: 22px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); }
.form h2 { font-size: 40px; margin-bottom: 8px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bone); border: 1.5px solid transparent; border-radius: 12px;
  padding: 14px 16px; outline: none; transition: border-color .2s, background .2s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--copper); background: #fff; }
.form .btn { margin-top: 26px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--teal); min-height: 1.5em; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; gap: 0; } .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #cfc6b8; padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,239,231,.14); }
.footer-top .brand { color: var(--bone); font-size: 44px; }
.footer-top p { margin-top: 18px; max-width: 360px; }
.footer-top h4 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #8f8576; margin: 8px 0 18px; font-weight: 700; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin: 8px 0; }
.footer-top a { text-decoration: none; color: var(--bone); }
.footer-top a:hover { color: #e0885a; }
.site-footer .socials a { border-color: rgba(244,239,231,.25); color: var(--bone); }
.site-footer .socials a:hover { background: var(--bone); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; color: #8f8576; }
.footer-bottom a { color: #8f8576; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
