:root {
  --blue: #98c1ff;
  --tan: #ddd6cf;
  --ink: #101010;
  font: 1rem Aptos, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 3px solid #386db7; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
.site-header, main > section, .site-footer { padding-inline: 6%; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  padding-block: 1.15rem;
  background: var(--ink);
  color: #fff;
}
.site-header a { text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.wordmark { font-weight: 700; letter-spacing: .09em; color: var(--blue); }
.site-header nav { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.site-header nav [aria-current] { color: var(--blue); }
.skip { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .75rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
main > section { padding-block: clamp(3rem, 7vw, 7rem); }
.lead { background: var(--tan); }
.eyebrow { margin: 0 0 1.25rem; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
p { margin: 1rem 0 0; max-inline-size: 65ch; line-height: 1.6; }
.lead p:not(.eyebrow) { font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 1.25rem; }
.gallery article { min-width: 0; }
.gallery img { aspect-ratio: 4 / 5; object-fit: contain; background: var(--ink); }
.gallery h3 { margin-top: 1rem; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split h1 { font-size: clamp(2.15rem, 5vw, 4.15rem); }
figure { margin: 0; }
figure img { max-height: 70vh; object-fit: contain; background: var(--ink); }
figcaption { font-size: .9rem; margin-top: .65rem; }
.breadcrumb { display: inline-block; margin-bottom: 1.5rem; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.services article { border-top: 3px solid var(--blue); padding-top: 1.25rem; }
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3rem, 7vw, 6rem); border-top: 6px solid var(--blue); }
.cta { display: inline-block; padding: .85rem 1.1rem; margin-top: 1.4rem; color: var(--ink); font-weight: 700; background: var(--blue); }
.cta:hover { background: var(--tan); }
@media (max-width: 720px) {
  .gallery, .split, .services { grid-template-columns: 1fr; }
  .gallery img { max-height: 30rem; }
}

.portfolio-jump { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; margin-top: 1.75rem; }
.project-section { border-top: 1px solid var(--tan); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.4rem; margin-top: 2rem; }
.project { align-self: start; scroll-margin-top: 1.5rem; }
.project:target { outline: 3px solid #386db7; outline-offset: 6px; }
.project img { aspect-ratio: 4 / 3; object-fit: contain; background: #f1eeeb; }
.project h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); margin-top: .85rem; }
.project p { margin-top: .5rem; }
.wide-feature figure { margin-top: 2rem; }
.wide-feature .landscape img { max-height: none; }
@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
}

.project h3 { line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project h3 a { text-underline-offset: .12em; text-decoration-thickness: .075em; }
.project p { margin-top: .7rem; }
.portfolio-jump a { line-height: 1.45; text-underline-offset: .14em; }
.case-lead h1 { font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: 1.06; overflow-wrap: anywhere; }
.case-copy p { margin-top: 1.2rem; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.25rem; margin-top: 2rem; }
.case-gallery img { max-height: 34rem; object-fit: contain; background: #f1eeeb; }
@media (max-width: 560px) {
  .case-gallery { grid-template-columns: 1fr; }
}

.text-project { align-self: stretch; padding: clamp(1rem, 3vw, 2.4rem); background: var(--tan); }
.text-project h3 { margin-top: 0; }
.race-markets { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.race-markets li { border-top: 3px solid var(--blue); padding: .7rem .15rem; font-weight: 700; }
/* Keep the entire general-session view visible on portrait screens. */
.wide-feature .landscape img { width: 100%; height: auto; }

.gko-photo-series {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: start;
  max-width: 66rem;
  margin-top: 2rem;
}
.gko-photo-series figure { margin: 0; }
.gko-photo-series img { max-height: none; }
@media (max-width: 640px) {
  .gko-photo-series { grid-template-columns: 1fr; }
}
