@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/newsreader-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/inter-normal.woff2) format("woff2"); }

/* Nick R-F's design (Home A, with the Tract pattern), 23 Oct 2026:
   Newsreader headings, Inter text, stone page, survey-line pattern behind the opening and contact. */
:root {
  --bg: #F1EFE8;          /* Stone */
  --contact-bg: #E9E6DD;
  --fg: #2C2C2A;          /* Ink */
  --text: #4A4945;
  --muted: #6B6963;
  --line: #D9D6CC;
  --pattern: #DCD8CD;
  --accent: #993C1D;      /* Rust */
  --band: #2C2C2A;
  --on-band: #F1EFE8;
  --on-band-muted: #CFCBC1;
  --band-line: #5A5955;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mark: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  color-scheme: light;
}
/* The cleaner variant: white page, no pattern. */
:root.clean { --bg: #FFFFFF; --contact-bg: #F6F5F1; --line: #E4E2DC; }
:root.clean .pattern { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1F1F1D; --contact-bg: #262624; --fg: #F1EFE8; --text: #CFCBC1; --muted: #A9A69D;
    --line: #3B3A36; --pattern: #34332F; --accent: #E58C6C;
    --band: #141413; --on-band: #F1EFE8; --on-band-muted: #CFCBC1; --band-line: #4A4945;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1F1F1D; --contact-bg: #262624; --fg: #F1EFE8; --text: #CFCBC1; --muted: #A9A69D;
  --line: #3B3A36; --pattern: #34332F; --accent: #E58C6C;
  --band: #141413; --on-band: #F1EFE8; --on-band-muted: #CFCBC1; --band-line: #4A4945;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 1rem; }
h1, h2, h3, p { margin: 0; }

/* ---------- layout: one page scroll; the image is pinned to the right two-fifths ---------- */
.bar, .sec, .foot { padding-inline: var(--gutter); }
@media (min-width: 861px) {
  .page:not(.no-plate) > .bar,
  .page:not(.no-plate) > .body,
  .page:not(.no-plate) > .foot { width: 60%; }
  .plate {
    position: fixed; top: 0; right: 0; width: 40%;
    height: 100vh; height: 100dvh; margin: 0; background: var(--band);
  }
}

/* ---------- header: one row ---------- */
.bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.75rem;
  padding-block: 1.25rem; border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex; align-items: center; gap: .5em;
  font: 400 1.3rem/1 var(--mark); letter-spacing: .01em; text-decoration: none; color: var(--fg);
}
.wordmark svg { width: .78em; height: .78em; color: var(--accent); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1.6rem; font-size: .875rem; }
.nav a { text-decoration: none; padding: .75rem 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }
.nav .login {
  font-weight: 500; padding: .55rem 1.1rem; margin-left: .25rem;
  border: 1px solid var(--fg); border-radius: 999px; transition: background .2s, color .2s;
}
.nav .login:hover { background: var(--fg); color: var(--bg); text-decoration: none; }

/* ---------- the image panel ---------- */
.plate { margin: 0; }
.plate .shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.plate .shot.is-on { opacity: 1; }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #9FA48F; }
.sec-shot { display: none; }

/* ---------- the Tract pattern ---------- */
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pattern-lines { stroke: var(--pattern); }
.pattern-marks { stroke: var(--accent); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em; max-width: 9em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.015em; }
h3 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.015em; }
.lede { color: var(--text); }

/* ---------- sections ---------- */
.sec { position: relative; }

.hero {
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  min-height: calc(100vh - 5.5rem); min-height: calc(100dvh - 5.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-in { position: relative; display: flex; flex-direction: column; gap: 2.25rem; padding-block: clamp(4rem, 11vw, 10rem) clamp(4rem, 10vw, 9rem); }
.hero .lede { font-size: clamp(1.1rem, 1.3vw, 1.3rem); line-height: 1.55; max-width: 34em; }

/* What we do: heading and intro, then rows of serif terms beside their descriptions */
.services { padding-block: clamp(4rem, 8vw, 7rem) clamp(3.5rem, 6vw, 5.5rem); }
.services-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 3rem; }
.services-head .lede { max-width: 26rem; }
.rows { border-top: 1px solid var(--fg); }
.row { display: flex; gap: .5rem 2.5rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.row h3 { flex: 0 0 15.5rem; }
.row p { flex: 1; color: var(--text); }

/* Approach: dark band, statement and three notes under rules */
.statement { background: var(--band); color: var(--on-band); padding-block: clamp(5rem, 10vw, 9rem); }
.statement h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 1.75rem; }
.statement .lede { font-size: 1.125rem; color: var(--on-band-muted); max-width: 40rem; }
.notes {
  list-style: none; margin: 3.5rem 0 0; padding: 0; max-width: 40rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2.5rem;
}
.notes li { border-top: 1px solid var(--band-line); padding-top: 1.25rem; font-size: .94rem; color: var(--on-band-muted); }
.notes strong { display: block; font-weight: 500; font-size: 1rem; color: var(--on-band); margin-bottom: .25rem; }

/* Meet the Team: large heading, words to the side */
.teaser { padding-block: clamp(5rem, 9vw, 8rem) clamp(4rem, 7vw, 6.5rem); }
.teaser-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.75rem 4rem; }
.teaser h2 { font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1; flex: 0 0 auto; max-width: 5em; }
.teaser-in > div { flex: 1 1 18rem; max-width: 30rem; }
.more { display: inline-block; padding-block: .75rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--fg); }
.more:hover { text-decoration-color: var(--accent); }

/* Contact: light stone with the pattern; the address is the headline */
.contact { background: var(--contact-bg); border-top: 1px solid var(--line); overflow: hidden; }
.contact-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-block: clamp(4.5rem, 9vw, 8rem); }
.contact h2 { font: 500 1.25rem/1.6 var(--sans); letter-spacing: 0; }
.email {
  font: 400 clamp(1.9rem, 3.4vw, 3.4rem)/1.1 var(--serif); letter-spacing: -.015em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px;
  overflow-wrap: anywhere;
}
.email:hover { text-decoration-color: var(--accent); }
.contact .lede { max-width: 30rem; }
.small { font-size: .8125rem; color: var(--muted); }

/* ---------- pages without the image (About) ---------- */
.no-plate .sec > * { max-width: 72rem; }
.page-head { padding-block: clamp(4rem, 9vw, 7rem) 0; }
.page-head h1 { max-width: none; margin-bottom: 1.5rem; }
.page-head .lede { font-size: 1.15rem; max-width: 34rem; }
.people-sec { padding-block: 3rem clamp(4rem, 8vw, 6.5rem); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.5rem; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .people { grid-template-columns: minmax(0, 1fr); } }
.person { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.person picture { display: block; }
.person img, .person .no-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-width: 100%; object-fit: cover; background: var(--line);
}
.person .no-photo { display: grid; place-items: center; font: 400 2rem/1 var(--serif); color: var(--muted); }
.person h3 { margin-bottom: .6rem; }
.person p { color: var(--text); font-size: .95rem; }
.with { max-width: 40rem; margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid var(--fg); }
.label { font-size: .875rem; font-weight: 500; color: var(--muted); margin-bottom: 1rem; }
.with p { color: var(--text); }
.ttg-logo { display: block; width: 9.5rem; height: auto; margin: 0 0 1.25rem; color: var(--fg); }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; align-items: center;
  padding-block: 1.75rem 2.25rem; font-size: .8125rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.foot nav { display: flex; gap: 1.5rem; }
.foot nav a { padding-block: .75rem; }

/* ---------- arrival ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-in > :nth-child(2) { animation-delay: .15s; }
  .plate .shot:first-child img { animation: fade 1.2s ease both; }
}
@media (prefers-reduced-motion: reduce) { .plate .shot { transition: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- narrower screens ---------- */
@media (min-width: 861px) and (max-width: 1440px) {
  .bar { gap: .75rem 1rem; padding-inline: clamp(1.25rem, 3.5vw, 3rem); }
  .wordmark { font-size: 1.12rem; }
  .nav { gap: 0 1.05rem; font-size: .84rem; }
  .nav .login { padding: .5rem .95rem; margin-left: 0; }
}
@media (max-width: 1150px) {
  .row { flex-direction: column; }
  .row h3 { flex: none; }
  .notes { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 860px) {
  .bar, .sec, .foot { padding-inline: 16px; }
  /* phone header: wordmark and Client login on one line, the four links below */
  .bar { padding-block: .9rem .4rem; gap: .2rem 1.1rem; }
  .bar .nav { display: contents; }
  .wordmark { flex: 1; order: 0; }
  .nav .login { order: 1; margin-left: 0; }
  .bar::after { content: ""; flex-basis: 100%; order: 2; }
  .nav a:not(.login) { order: 3; font-size: .8rem; }
  .bar { column-gap: .85rem; }
  .hero .pattern { opacity: .45; }
  .plate { position: relative; height: 38vh; min-height: 220px; max-height: 420px; background: var(--band); }
  .plate .shot:not(:first-child) { display: none; }
  .sec-shot { display: block; position: relative; margin: 0 0 2.5rem; height: 34vh; min-height: 200px; max-height: 360px; }
  .sec-shot picture, .sec-shot img { display: block; width: 100%; height: 100%; object-fit: cover; background: #9FA48F; }
  .hero { min-height: 0; }
  .hero-in { padding-block: 3rem 3.5rem; }
  .services, .statement, .teaser { padding-block: 3.5rem; }
  .contact-in { padding-block: 0 3.5rem; }
  .contact .sec-shot { margin-top: 3.5rem; }
}

.doc ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.doc p + p { margin-top: 1rem; }
