:root {
  --cream: #f0efeb;
  --brown-medium: #c8916c;
  --brown-dark: #94694c;
  --coffee: #642d08;
  --coffee-deep: #3f1b05;
  --white: #ffffff;
  --ink: #2b2927;
  --muted: #6c6660;
  --line: rgba(100, 45, 8, 0.16);
  --shadow: 0 22px 60px rgba(63, 27, 5, 0.12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; background: var(--coffee); color: white; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(100,45,8,0.10);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 92px; height: 58px; object-fit: contain; }
.brand span { max-width: 126px; color: var(--brown-dark); font-size: 0.72rem; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 13px; color: var(--coffee); text-decoration: none; font-size: 0.92rem; font-weight: 700; border-radius: 999px; }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--cream); outline: none; }
.main-nav .nav-cta { padding-inline: 18px; background: var(--coffee); color: var(--white); }
.main-nav .nav-cta:hover, .main-nav .nav-cta:focus-visible { background: var(--coffee-deep); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: white; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--coffee); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--cream) 0%, #fff 61%, #f5ebe4 100%); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -190px; bottom: -310px; border-radius: 50%; border: 70px solid rgba(200,145,108,0.14); }
.hero-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(100,45,8,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(100,45,8,.06) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, black 48%, black); }
.hero-layout { position: relative; z-index: 1; min-height: 660px; padding-block: 88px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); align-items: center; gap: 76px; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--brown-dark); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #ead0bd; }
h1, h2, h3 { margin-top: 0; color: var(--coffee); line-height: 1.12; }
h1 { margin-bottom: 24px; max-width: 820px; font-size: clamp(2.75rem, 6vw, 5.3rem); letter-spacing: -0.045em; }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 12px; font-size: 1.3rem; }
.hero-lead { max-width: 690px; margin: 0 0 32px; color: #4f4944; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coffee); color: white; }
.button-primary:hover { background: var(--coffee-deep); }
.button-secondary { background: rgba(255,255,255,.72); color: var(--coffee); border: 1px solid var(--line); }
.button-secondary:hover { background: white; border-color: var(--brown-medium); }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 32px 0 0; list-style: none; color: var(--coffee); font-size: .9rem; font-weight: 800; }
.hero-points li { position: relative; padding-left: 16px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brown-medium); }
.hero-panel { position: relative; padding: 38px; border: 1px solid rgba(100,45,8,.14); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.hero-panel::before { content: ""; position: absolute; left: -1px; top: 34px; width: 6px; height: 100px; border-radius: 0 6px 6px 0; background: var(--coffee); }
.panel-kicker { color: var(--brown-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero-panel strong { display: block; margin: 12px 0 8px; color: var(--coffee); font-size: clamp(2.9rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.05em; }
.hero-panel p { margin: 0; color: var(--muted); }
.panel-line { height: 1px; margin: 24px 0; background: var(--line); }
.hero-panel .panel-note { font-size: .92rem; }

.section { padding-block: 100px; }
.section-tint { background: var(--cream); }
.split-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
.intro h2 { max-width: 710px; }
.intro-text { padding-top: 30px; color: var(--muted); font-size: 1.08rem; }
.intro-text p { margin: 0 0 18px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr); gap: 70px; align-items: end; margin-bottom: 48px; }
.section-heading.compact { grid-template-columns: minmax(0, 860px); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card { position: relative; min-height: 290px; padding: 34px 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 150px; height: 150px; border: 28px solid rgba(200,145,108,.13); border-radius: 50%; }
.service-number { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 28px; margin-bottom: 26px; background: var(--coffee); color: white; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.service-card h3 { font-size: 1.55rem; }
.service-card ul { position: relative; z-index: 1; margin: 0; padding-left: 19px; color: var(--muted); }
.service-card li + li { margin-top: 7px; }

.process { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process li { position: relative; padding: 34px 26px 0 0; }
.process li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brown-medium); box-shadow: 0 0 0 6px white; }
.process li:not(:last-child) { border-right: 1px solid var(--line); margin-right: 26px; }
.process span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid var(--brown-medium); color: var(--coffee); border-radius: 50%; font-weight: 800; }
.process h3 { margin-bottom: 8px; }
.process p { margin: 0; color: var(--muted); font-size: .94rem; }

.experience { background: #fbfaf8; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 38px rgba(63,27,5,.06); }
.case-card img { width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; object-position: center; background: var(--cream); border-bottom: 1px solid var(--line); }
.case-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.case-tag { align-self: flex-start; margin-bottom: 18px; padding: 6px 10px; border-radius: 999px; background: var(--cream); color: var(--brown-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.case-card p { color: var(--muted); font-size: .94rem; }
.case-card small { display: block; margin-top: auto; padding-top: 20px; color: var(--brown-dark); border-top: 1px solid var(--line); line-height: 1.45; }

.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 84px; align-items: center; }
.about-visual { padding: 20px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.about-visual img { width: 100%; border-radius: 10px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.values-grid div { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.values-grid strong { display: block; margin-bottom: 7px; color: var(--coffee); }
.values-grid span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.48; }

.contact { position: relative; overflow: hidden; padding-block: 90px; background: var(--coffee); color: white; }
.contact::after { content: ""; position: absolute; right: -180px; top: -210px; width: 480px; height: 480px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; }
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr); gap: 80px; align-items: center; }
.contact h2 { color: white; }
.contact-layout > div > p:not(.eyebrow) { max-width: 680px; color: #eadfd7; }
.contact-card { display: grid; border-radius: var(--radius); background: white; overflow: hidden; box-shadow: var(--shadow); }
.contact-card a { display: flex; flex-direction: column; padding: 22px 26px; color: var(--coffee); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-card a:last-child { border-bottom: 0; }
.contact-card a:hover { background: var(--cream); }
.contact-card span { color: var(--brown-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { margin-top: 3px; font-size: 1.06rem; word-break: break-word; }

.site-footer { padding-block: 36px; background: var(--coffee-deep); color: #e7d9cf; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 70px; height: 42px; object-fit: contain; filter: brightness(1.2); }
.footer-brand span { max-width: 130px; color: white; font-size: .72rem; line-height: 1.3; font-weight: 700; }
.site-footer p { margin: 0; font-size: .78rem; }
.site-footer p:nth-of-type(1) { max-width: 460px; }

:focus-visible { outline: 3px solid rgba(200,145,108,.7); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; min-height: auto; gap: 48px; padding-block: 70px; }
  .hero-panel { max-width: 620px; }
  .split-intro, .section-heading, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .intro-text { padding-top: 0; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process li:nth-child(2) { border-right: 0; margin-right: 0; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { display: grid; grid-template-columns: .86fr 1.14fr; }
  .case-card img { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 74px; }
  .brand img { width: 76px; height: 48px; }
  .brand span { display: none; }
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 16px 14px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(63,27,5,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero-layout { padding-block: 56px; }
  h1 { font-size: clamp(2.5rem, 13vw, 4.1rem); }
  .section { padding-block: 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process { grid-template-columns: 1fr; border-top: 0; }
  .process li { padding: 24px 0; border-top: 1px solid var(--line); }
  .process li:not(:last-child), .process li:nth-child(2) { border-right: 0; margin-right: 0; }
  .process li::before { display: none; }
  .case-card { display: flex; }
  .case-card img { aspect-ratio: 2.6 / 1; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-layout { gap: 38px; }
  .contact-card strong { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
