:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --surface: #fffdf9;
  --ink: #252725;
  --muted: #5e5b55;
  --terracotta: #a64e3d;
  --terracotta-dark: #803a2b;
  --line: #ddd8cf;
  --sand: #eee5db;
  --light-on-dark: #e8d8cb;
  --serif: Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100%, 1440px); padding-inline: var(--gutter); margin-inline: auto; }
section[id] { scroll-margin-top: 88px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 10; padding: 10px 14px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { min-height: 72px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 1.23rem; letter-spacing: -.07em; font-weight: 800; }
.brand strong { color: var(--terracotta); }
.brand small { margin-left: 2px; font-size: .65em; letter-spacing: -.02em; }
.brand-mark { width: 19px; height: 19px; border: 1.5px solid var(--terracotta); position: relative; transform: rotate(-12deg); }
.brand-mark::after { position: absolute; content: ''; border: inherit; inset: 4px -5px -5px 4px; }
.topbar nav, .nav-actions { display: flex; gap: clamp(14px, 3vw, 39px); align-items: center; }
.topbar nav a, .nav-cta, #language { font-weight: 650; font-size: .88rem; text-decoration: none; }
.topbar nav a:hover { color: var(--terracotta-dark); }
#language { appearance: none; background: transparent; border: 0; color: var(--muted); padding: 8px 4px; min-width: 38px; min-height: 44px; cursor: pointer; }
.nav-cta { padding: 8px 12px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); white-space: nowrap; }
.nav-cta:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); align-items: center; gap: clamp(34px, 5.5vw, 92px); padding-block: clamp(42px, 5.8vw, 86px) clamp(43px, 6vw, 90px); }
.hero-copy { padding-bottom: 22px; }
.eyebrow { color: var(--terracotta-dark); font-size: .74rem; font-weight: 750; letter-spacing: .15em; line-height: 1.4; margin-bottom: 19px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; }
h1 { font-size: clamp(4.1rem, 7.6vw, 8rem); line-height: .93; margin-bottom: 26px; }
.hero-accent { color: var(--terracotta); font-style: italic; }
.intro { font-size: clamp(1.07rem, 1.6vw, 1.32rem); max-width: 37ch; color: var(--muted); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 29px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; min-height: 50px; font-size: .88rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.primary { color: white; background: var(--terracotta); }
.primary:hover { background: var(--terracotta-dark); }
.arrow { display: inline-block; position: relative; width: 13px; height: 13px; flex: none; text-decoration: none; }
.arrow::before { position: absolute; content: ''; top: 2px; right: 1px; width: 6px; height: 6px; border-top: 1px solid; border-right: 1px solid; }
.arrow::after { position: absolute; content: ''; top: 2px; right: 1px; width: 12px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.arrow-down { transform: rotate(135deg); }
.text-link { display: inline-flex; gap: 8px; width: fit-content; align-items: center; font-size: .88rem; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; color: var(--terracotta-dark); }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-formats { color: var(--muted); font-size: .78rem; font-weight: 600; margin-top: 30px; letter-spacing: .04em; }
.hero-formats span { color: var(--terracotta); padding: 0 5px; }
.hero-image { background: #ad6c53; overflow: hidden; aspect-ratio: 1.03; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 76% 49%; }
figcaption { margin-top: 9px; color: var(--muted); font-size: .75rem; }

.section { padding-block: clamp(55px, 7vw, 103px); }
h2 { font-size: clamp(2.68rem, 5vw, 5.15rem); line-height: .99; }
.section-intro { margin-top: 17px; max-width: 42ch; color: var(--muted); }
.services { background: var(--surface); border-block: 1px solid var(--line); }
.projects { background: var(--sand); }
.project-grid { display: grid; grid-template-columns: 1.22fr 1fr 1fr; gap: 13px; margin-top: 30px; }
.project { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3.4vw, 42px); background: var(--paper); min-height: 224px; }
.project-featured { background: var(--terracotta-dark); color: var(--surface); }
.project-meta { font-weight: 700; font-size: .76rem; letter-spacing: .04em; color: var(--terracotta-dark); }
.project-featured .project-meta { color: #f3d2c3; }
.project h3 { margin: 10px 0 6px; font: 400 clamp(1.55rem, 2.45vw, 2.45rem)/1.04 var(--serif); letter-spacing: -.045em; }
.project p:not(.project-meta) { font-size: .9rem; margin-bottom: 18px; }
.project-format { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .76rem; width: 100%; font-weight: 650; }
.project-featured .project-format { border-color: #b77b69; }

.method { background: var(--paper); }
.method-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: end; }
.method-heading .section-intro { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 65px); padding: 0; margin: 32px 0 0; list-style-position: inside; }
.steps li { padding-top: 15px; border-top: 1px solid var(--line); }
.steps li::marker { font-size: .86rem; color: var(--terracotta-dark); font-weight: 700; }
.steps h3 { display: inline; font-size: 1rem; letter-spacing: -.02em; }
.steps p { margin-top: 7px; font-size: .9rem; color: var(--muted); }

.contact { background: var(--ink); color: var(--surface); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 105px); align-items: start; }
.contact-copy { padding-top: 12px; }
.contact .eyebrow { color: #e6a18d; }
.contact h2 { max-width: 11ch; }
.contact .section-intro { color: var(--light-on-dark); }
.contact-email { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; font-weight: 700; text-underline-offset: 5px; }
.contact-email:hover { color: #e6a18d; }
.request { background: var(--paper); color: var(--ink); padding: clamp(22px, 4vw, 42px); }
.request h3 { font: 400 clamp(1.6rem, 2.8vw, 2.4rem)/1.1 var(--serif); letter-spacing: -.045em; margin-bottom: 16px; }
.request label { display: block; font-size: .85rem; font-weight: 700; margin: 13px 0 5px; }
.request select, .request textarea { display: block; width: 100%; border-radius: 0; border: 1px solid #aaa194; padding: 8px 9px; min-height: 45px; color: var(--ink); background: var(--surface); }
.request textarea { resize: vertical; min-height: 83px; }
.field-hint, .form-note { color: var(--muted); font-size: .79rem; line-height: 1.45; }
.field-hint { margin-bottom: 7px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px 17px; align-items: center; margin: 16px 0 10px; }
.contact-actions .text-link { min-height: 35px; }
.footer { background: #1c1e1c; color: var(--light-on-dark); font-size: .79rem; }
.footer-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer a { text-underline-offset: 4px; }

@media (max-width: 950px) {
  h1 { font-size: clamp(3.65rem, 8.2vw, 6rem); }
  .hero-actions { gap: 12px 16px; }
}
@media (max-width: 700px) {
  section[id] { scroll-margin-top: 108px; }
  .topbar-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 5px; }
  .brand { width: fit-content; }
  .nav-actions { gap: 6px; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; max-width: 370px; gap: 12px; }
  .topbar nav a { padding-block: 7px; }
  .nav-cta { min-height: 36px; padding: 5px 9px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 38px 41px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.6rem, 12vw, 5.5rem); margin-bottom: 19px; }
  .hero-actions, .hero-formats { margin-top: 20px; }
  .hero-image { aspect-ratio: 1.35; }
  .method-heading, .contact-layout { grid-template-columns: 1fr; }
  .method-heading { gap: 15px; }
  .project-grid, .steps { grid-template-columns: 1fr; }
  .project { min-height: 167px; }
  .services h2, .contact h2 { max-width: 16ch; }
  .section-intro { margin-top: 12px; }
  .contact-copy { padding: 0; }
}
@media (max-width: 350px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.hero h1 { font-size: clamp(3.5rem, 5.8vw, 6.2rem); }
.hero-image { position: relative; display: block; aspect-ratio: 1.18; background: var(--ink); }
.services h2 { max-width: 17ch; }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 0;
  gap: 12px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(19px, 2.6vw, 32px);
  border: 1px solid var(--line);
  background: var(--paper);
}
.service-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 17px;
  background: var(--sand);
}
.service-card h3, .video-case h3 {
  font: 400 clamp(1.6rem, 2.5vw, 2.5rem)/1.08 var(--serif);
  letter-spacing: -.035em;
}
.service-card p { margin-top: 11px; color: var(--muted); }
.service-card .service-output { margin-bottom: 17px; color: var(--ink); }
.service-card .text-link { margin-top: auto; }
.video-case {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  background: var(--ink);
  color: var(--surface);
  scroll-margin-top: 115px;
}
.video-case video { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #161816; }
.video-copy { padding: clamp(23px, 4vw, 57px); align-self: center; }
.video-copy .project-meta { color: #f3d2c3; }
.video-copy h3 { margin-block: 10px; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.comparison img, .project-villa img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.comparison figcaption { font-size: .875rem; }

@media (max-width: 1000px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.9rem); }
  .hero-image { aspect-ratio: 1.5; }
  .video-case, .project-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 530px) {
  .service-list { grid-template-columns: minmax(0, 1fr); }
}
