:root {
  --page: #faf9f6;
  --surface: #fffefa;
  --ink: #203b33;
  --muted: #58635b;
  --accent: #203e34;
  --accent-hover: #355947;
  --border: #d8ddd3;
  --soft: #eef0e8;
  --focus: #805221;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a, select { -webkit-tap-highlight-color: #d8e4bf; }
a:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #d8e4bf; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 32px; }
.header { min-height: 76px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; font-size: 30px; font-weight: 700; letter-spacing: -1.5px; min-height: 44px; }
.brand-period { color: #92572e; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 34px; margin-inline-end: 10px; padding-bottom: 5px; border-radius: 6px; background: var(--accent); color: var(--surface); font: italic 30px Georgia, serif; }
.header nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; font-size: 14px; }
.header nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.header nav > a:hover, .quiet-link:hover, .project-link:hover { color: var(--focus); text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { font-weight: 600; gap: 12px; }
.language { border-inline-start: 1px solid var(--border); padding-inline-start: 16px; }
.language select { min-width: 48px; min-height: 44px; padding: 4px; font: inherit; font-size: 13px; color: var(--ink); border: 0; background: transparent; cursor: pointer; }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; padding-block: 32px; align-items: center; }
.eyebrow { font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 1.2px; }
h1 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -1.7px; margin-block: 12px; }
.hero-description { max-width: 590px; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 11px 16px; gap: 20px; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background-color 180ms ease; }
.primary { color: var(--surface); background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.primary:active { background: var(--ink); }
.quiet-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
.service-summary { padding-inline-start: 28px; border-inline-start: 1px solid var(--border); }
.service-summary dl { margin-top: 12px; display: grid; gap: 12px; }
.service-summary dt { font-size: 15px; font-weight: 600; }
.service-summary dd { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.projects { padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--border); }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.section-heading h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.6px; }
.section-heading p { font-size: 14px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; transition: border-color 180ms ease; }
.project:hover, .project:focus-within { border-color: #73846d; }
.project-body { display: flex; flex-direction: column; padding: 16px 20px 12px; height: 100%; }
.project-type { font-size: 10px; font-weight: 600; letter-spacing: .7px; color: var(--muted); margin-bottom: 4px; }
.project h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.5px; }
.project h3 a { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project h3 a > span { font-size: 18px; }
.project h3 + p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.project-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; min-height: 44px; padding-block: 8px; font-size: 13px; font-weight: 600; margin-top: auto; }
.project-note { font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.contact-section { padding-bottom: 20px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 24px; background: var(--soft); border: 1px solid var(--border); border-radius: 5px; }
.contact-panel h2 { font-size: 22px; letter-spacing: -.4px; }
.contact-panel p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.contact-panel .button { flex-shrink: 0; }
.footer { min-height: 68px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--border); }
.footer .brand { font-size: 24px; }
.footer p, .footer small { font-size: 12px; color: var(--muted); }
.footer small { margin-inline-start: auto; }
.skip { position: fixed; inset-inline-start: 12px; top: -100px; z-index: 10; padding: 16px; background: var(--surface); }
.skip:focus { top: 12px; }
.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; }
[dir=rtl] .brand { direction: ltr; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] .eyebrow, [dir=rtl] .project-type { letter-spacing: 0; }
@media (max-width: 1000px) {
  .hero { gap: 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-summary { padding-inline-start: 20px; }
}
@media (max-width: 650px) {
  .wrap { padding-inline: 20px; }
  .header { padding-block: 12px 4px; gap: 4px 16px; flex-wrap: wrap; }
  .header .brand { font-size: 27px; }
  .language { margin-inline-start: auto; padding-inline-start: 12px; }
  .header nav { width: 100%; order: 3; margin-inline-start: 0; justify-content: space-between; gap: 12px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding-block: 24px; gap: 24px; }
  h1 { font-size: clamp(29px, 7.6vw, 38px); letter-spacing: -1.1px; }
  .hero-description { font-size: 16px; }
  .actions { margin-top: 16px; gap: 8px 20px; }
  .button, .quiet-link { font-size: 14px; }
  .service-summary { padding-inline-start: 0; padding-top: 16px; border-inline-start: 0; border-top: 1px solid var(--border); }
  .service-summary dl { gap: 10px; margin-top: 10px; }
  .service-summary dt { font-size: 16px; }
  .service-summary dd { font-size: 15px; }
  .projects { padding-top: 20px; padding-bottom: 20px; }
  .section-heading h2 { font-size: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-body { padding: 16px 18px 8px; }
  .project-type { font-size: 10px; }
  .project h3 + p { font-size: 16px; }
  .project-link { margin-top: 4px; font-size: 14px; }
  .contact-panel { padding: 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-panel h2 { font-size: 23px; }
  .contact-panel p { font-size: 16px; }
  .footer { padding-block: 12px; gap: 4px 16px; }
  .footer p { font-size: 12px; }
  .footer small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
  .button, .project { border: 1px solid CanvasText; }
}

/* The seventh project uses one short row on desktop. */
@media (min-width: 1001px) {
  .project-wide { grid-column: 1 / -1; }
  .project-wide .project-body { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 0 24px; align-items: center; padding-block: 16px; }
  .project-wide .project-type { grid-column: 1; grid-row: 1; }
  .project-wide h3 { grid-column: 1; grid-row: 2; }
  .project-wide h3 + p { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .project-wide .project-link { grid-column: 3; grid-row: 1 / 3; margin: 0; }
}
