:root {
  --emerald: #0a3a2e;
  --emerald-deep: #072a21;
  --ivory: #f4ede0;
  --ivory-dim: #c9c4b3;
  --ink: #0d2b23;
  --ink-soft: #4a5f56;
  --line: rgb(244 237 224 / 0.2);

  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--emerald); color: var(--ivory);
  font-family: var(--text); font-size: 1.125rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgb(244 237 224 / 0.5); text-underline-offset: 0.25em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.06; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ivory); color: var(--ink); padding: 8px 14px; z-index: 10; font-family: var(--display); }
.skip:focus { left: 8px; }

/* header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 32px; font-family: var(--display); letter-spacing: 0.04em; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ivory); }

.btn { display: inline-block; font-family: var(--display); font-size: 1.0625rem; letter-spacing: 0.03em; background: var(--ivory); color: var(--ink); padding: 14px 30px; text-decoration: none; border: 1px solid var(--ivory); transition: background 0.2s, color 0.2s; }
.btn:hover { background: transparent; color: var(--ivory); }

/* hero */
.hero { padding-block: clamp(40px, 8vw, 110px) clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-weight: 200; font-size: clamp(3.4rem, 10vw, 8.5rem); letter-spacing: -0.03em; line-height: 0.95; }
.hero .lede { margin-top: 32px; max-width: 30em; color: var(--ivory-dim); font-size: 1.25rem; }
.hero .actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.link-quiet { font-family: var(--display); letter-spacing: 0.03em; }
.hero-mark { justify-self: end; width: min(100%, 460px); animation: settle 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* services on ivory */
.light { background: var(--ivory); color: var(--ink); }
.section { padding-block: clamp(64px, 10vw, 128px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 7vw, 112px); }
.split h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px 32px; padding-block: 30px; border-bottom: 1px solid rgb(13 43 35 / 0.25); }
.rows h3 { font-size: 1.75rem; font-weight: 400; letter-spacing: 0; }
.rows p { color: var(--ink-soft); max-width: 32em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; font-family: var(--display); font-size: 0.9375rem; color: var(--ivory-dim); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }

/* contact page */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 200; letter-spacing: -0.02em; }
.page-head .lede { margin-top: 24px; color: var(--ivory-dim); max-width: 34em; font-size: 1.25rem; }
.email-line { padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.email-line .label { font-family: var(--display); color: var(--ivory-dim); letter-spacing: 0.06em; }
.email-line a { display: inline-block; margin-top: 8px; font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 5vw, 3.6rem); text-decoration: none; overflow-wrap: anywhere; border-bottom: 1px solid rgb(244 237 224 / 0.5); }
.email-line a:hover { border-bottom-color: #fff; }

.offices { background: var(--emerald-deep); border-top: 1px solid var(--line); }
.desk-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.clock { padding: clamp(24px, 4vw, 48px) clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.clock:first-child { border-left: 0; padding-left: 0; }
.city { font-family: var(--display); letter-spacing: 0.06em; color: var(--ivory-dim); display: flex; justify-content: space-between; gap: 12px; }
.office h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 10px; }
.time { display: block; font-family: var(--display); font-weight: 200; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(244 237 224 / 0.3); }
.status[data-open="true"] { color: var(--ivory); }
.status[data-open="true"]::before { background: var(--ivory); }
.phone { display: inline-block; margin-top: 24px; font-family: var(--display); font-size: 1.375rem; text-decoration: none; border-bottom: 1px solid rgb(244 237 224 / 0.5); }
.phone:hover { border-bottom-color: #fff; }
.hours { margin-top: 10px; color: var(--ivory-dim); font-size: 1rem; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; width: min(70%, 300px); order: -1; }
  .rows li { grid-template-columns: 1fr; }
  .desk-row { grid-template-columns: 1fr; }
  .clock { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .clock:first-child { border-top: 0; }
  .brand img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }

/* landing footer: office cities */
.cities { list-style: none; margin: 0; padding: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px clamp(24px, 6vw, 72px); width: 100%; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 200; font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: 0.02em; color: var(--ivory); }
.foot-line { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; width: 100%; }
