/* ===== Design tokens: earthy architectural palette ===== */
:root {
  --green-900: #17201d;
  --green-800: #1f3a34;
  --green-700: #2d5148;
  --sand-100: #f7f3ea;
  --sand-200: #f2ece1;
  --sand-300: #e6dccb;
  --terracotta: #b8643c;
  --terracotta-light: #d9835a;
  --text: #25302c;
  --muted: #5d6a64;
  --line: rgba(31, 58, 52, .16);
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand-100);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
address { font-style: normal; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-800); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--green-800); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--terracotta-light); }

.label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font: 600 .95rem var(--sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-800); color: var(--sand-100); }
.btn-primary:hover { background: var(--terracotta); }
.btn-ghost { border-color: var(--green-800); color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: var(--sand-100); }
.btn-light { background: var(--sand-100); color: var(--green-800); }
.btn-light:hover { background: var(--terracotta-light); color: var(--green-900); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 234, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 32, 29, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-text { font-family: var(--serif); font-size: 1.35rem; color: var(--green-800); line-height: 1.1; }
.brand-text small { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a { text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--terracotta); transition: width .3s var(--ease); }
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--green-800); color: var(--sand-100); padding: 11px 22px !important; transition: background .3s; }
.nav-cta:hover { background: var(--terracotta); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-800); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding-top: 72px; background: var(--sand-100); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; padding-bottom: 88px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual { position: relative; padding: 0 0 40px 40px; }
.art-frame { aspect-ratio: 4 / 4.6; overflow: hidden; }
.art-frame svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.hero-visual:hover .art-frame svg { transform: scale(1.04); }
.info-panel {
  position: absolute; left: 0; bottom: 0;
  background: var(--sand-100); border: 1px solid var(--line);
  padding: 18px 24px; box-shadow: 0 14px 34px rgba(23, 32, 29, .12);
  font-size: .95rem; line-height: 1.5;
}
.info-panel p { margin-top: 4px; color: var(--green-800); font-weight: 500; }
.info-panel-alt { left: auto; right: -14px; top: 36px; bottom: auto; background: var(--green-800); border-color: var(--green-800); }
.info-panel-alt p { color: var(--sand-100); }
.info-panel-alt .label { color: var(--terracotta-light); }

.channel-strip { background: var(--green-800); color: var(--sand-200); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px 0; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.strip-inner span { display: flex; align-items: center; gap: 10px; }
.strip-inner span::before { content: ""; width: 7px; height: 7px; background: var(--terracotta-light); transform: rotate(45deg); }

/* ===== Sections ===== */
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 88px; align-items: start; }
.about-main h2 { margin-bottom: 30px; max-width: 14em; }
.about-main > p { margin-bottom: 20px; color: var(--muted); max-width: 40em; }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.value { padding: 28px 24px 0 0; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--line); }
.value h3 { margin-bottom: 8px; font-size: 1.25rem; }
.value p { font-size: .95rem; color: var(--muted); line-height: 1.6; }

.about-aside { background: var(--sand-200); border: 1px solid var(--line); position: sticky; top: 104px; }
.aside-art { height: 190px; overflow: hidden; }
.aside-art svg { width: 100%; height: 100%; }
.about-aside h3 { padding: 28px 30px 6px; }
.about-aside dl { padding: 8px 30px 30px; }
.about-aside dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-aside dl > div:last-child { border-bottom: 0; }
.about-aside dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
.about-aside dd { color: var(--green-800); font-weight: 500; font-size: .98rem; line-height: 1.5; margin-top: 2px; }
.about-aside a { text-decoration: none; border-bottom: 1px solid var(--terracotta); }

/* Services */
.services { background: var(--sand-200); }
.service { display: grid; grid-template-columns: 90px 1fr 260px; gap: 32px; align-items: center; padding: 36px 20px; border-top: 1px solid var(--line); transition: background .35s var(--ease), padding .35s var(--ease); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { background: var(--sand-100); padding-left: 36px; }
.service-num { font-family: var(--serif); font-size: 2.6rem; color: var(--terracotta); line-height: 1; transition: transform .35s var(--ease); }
.service:hover .service-num { transform: translateX(4px); }
.service-body h3 { margin-bottom: 8px; font-size: 1.55rem; }
.service-body p { color: var(--muted); max-width: 44em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tags li { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--green-700); color: var(--green-700); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
.step { position: relative; padding-right: 32px; }
.step span { display: grid; place-items: center; width: 54px; height: 54px; background: var(--green-800); color: var(--sand-100); font-family: var(--serif); font-size: 1.4rem; margin-bottom: 26px; position: relative; transition: background .3s; }
.step:hover span { background: var(--terracotta); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Benefits */
.benefits { background: var(--green-800); color: var(--sand-200); }
.benefits h2, .benefits h3 { color: var(--sand-100); }
.benefits-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; align-items: start; }
.benefits-intro { position: sticky; top: 120px; }
.benefits-intro p:not(.eyebrow) { margin: 24px 0 36px; color: rgba(242, 236, 225, .78); max-width: 30em; }
.benefit-list li { display: grid; grid-template-columns: 28px 1fr; column-gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(242, 236, 225, .18); }
.benefit-list li:first-child { border-top: 1px solid rgba(242, 236, 225, .18); }
.benefit-list li::before { content: ""; width: 12px; height: 12px; margin-top: 9px; background: var(--terracotta-light); transform: rotate(45deg); transition: transform .4s var(--ease); }
.benefit-list li:hover::before { transform: rotate(225deg) scale(1.2); }
.benefit-list h3 { grid-column: 2; margin-bottom: 8px; }
.benefit-list p { grid-column: 2; color: rgba(242, 236, 225, .75); max-width: 36em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info > p:not(.eyebrow) { color: var(--muted); margin-bottom: 36px; max-width: 30em; }
.contact-card { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-card:last-child { border-bottom: 1px solid var(--line); }
.contact-card p, .contact-card address { color: var(--green-800); font-size: 1.1rem; font-weight: 500; margin-top: 4px; line-height: 1.55; }
.contact-card a { text-decoration: none; border-bottom: 1px solid var(--terracotta); }

.contact-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--terracotta); padding: 44px; }
.contact-form h3 { margin-bottom: 28px; font-size: 1.7rem; }
.field { margin-bottom: 22px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--green-800); margin-bottom: 8px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 14px 16px; background: var(--sand-100);
  border: 1.5px solid transparent; border-bottom-color: var(--line);
  border-radius: 0; transition: border-color .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-800); background: #fff; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a63d2a; }
.error { color: #a63d2a; font-size: .82rem; min-height: 1.1em; margin-top: 6px; }
.form-status { margin-top: 18px; font-size: .95rem; color: var(--green-700); font-weight: 500; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(242, 236, 225, .75); padding-top: 80px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 60px; padding-bottom: 56px; }
.footer-name { font-family: var(--serif); font-size: 1.6rem; color: var(--sand-100); margin-bottom: 12px; }
.site-footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-light); margin-bottom: 18px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--terracotta-light); }
.site-footer address { line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-top: 1px solid rgba(242, 236, 225, .15); font-size: .86rem; }

/* ===== Scroll reveal ===== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-grid, .about-grid, .benefits-grid, .contact-grid { gap: 48px; }
  .service { grid-template-columns: 70px 1fr; }
  .tags { grid-column: 2; justify-content: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .hero { padding-top: 48px; }
  .hero-grid, .about-grid, .benefits-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .about-aside, .benefits-intro { position: static; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--sand-100); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; }
  .main-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; border: 0 !important; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .section-head { margin-bottom: 40px; }
  .value-row { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .service:hover { padding-left: 0; }
  .tags { grid-column: 1; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .hero-visual { padding-left: 16px; }
  .info-panel-alt { right: -6px; }
  .strip-inner { justify-content: flex-start; font-size: .74rem; }
}
