:root {
  color-scheme: light;
  --paper: #f7f3ee;
  --ink: #1f2528;
  --muted: #66706a;
  --line: #d8d0c6;
  --coral: #d56f61;
  --green: #285448;
  --blue: #223e62;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-logo {
  width: min(330px, 52vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 64px) clamp(32px, 5vw, 72px);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13.5ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 7.8rem);
  font-weight: 500;
  line-height: 0.94;
  overflow-wrap: normal;
  
}

.intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 28%, transparent), transparent);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: min(66vh, 720px);
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.profile-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 6vw, 86px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.profile-band h2,
.contact-band h2,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 500;
  line-height: 1.02;
}

.profile-band > p {
  margin: 0;
  align-self: end;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.focus-section,
.work-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.work-section {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.focus-item {
  min-height: 280px;
  padding: 28px clamp(20px, 3vw, 34px) 32px;
  border-right: 1px solid var(--line);
}

.focus-item:last-child {
  border-right: 0;
}

.focus-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.focus-item h3 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.focus-item p {
  margin: 0;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.work-item {
  display: grid;
  gap: 18px;
}

.lightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.work-item img,
.lightbox-trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.lightbox-trigger:hover img,
.lightbox-trigger:focus-visible img {
  filter: brightness(0.94);
}

.lightbox-trigger:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.work-label {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.16;
}

.contact-band {
  align-items: end;
  background: var(--green);
  color: var(--white);
}

.contact-band .section-kicker {
  color: color-mix(in srgb, var(--white) 74%, var(--coral));
}

.contact-link {
  justify-self: end;
  padding-bottom: 10px;
  border-bottom: 2px solid currentColor;
  font-size: clamp(1.25rem, 3vw, 2.8rem);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 22px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--ink);
}

.is-lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: color-mix(in srgb, var(--ink) 86%, transparent);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1180px, 100%);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid color-mix(in srgb, var(--white) 32%, transparent);
  background: var(--white);
  box-shadow: 0 24px 80px color-mix(in srgb, #000 42%, transparent);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--white) 42%, transparent);
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.legal-page {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 64px);
}

.legal-hero {
  max-width: 960px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.legal-hero h1 {
  max-width: none;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
}

.legal-content h2 {
  margin: 42px 0 14px;
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1.3;
}

.legal-content h4 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.legal-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-content li + li {
  margin-top: 8px;
}

@media (min-width: 861px) and (max-width: 1366px) {
  .hero h1 {
    font-size: clamp(3.2rem, 5.2vw, 4.6rem);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.84rem;
  }

  .hero,
  .profile-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual img {
    height: 48vh;
    min-height: 300px;
  }

  .section-heading {
    display: block;
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .focus-item {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }

  .focus-item:nth-child(2n) {
    border-right: 0;
  }

  .focus-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .focus-number {
    margin-bottom: 24px;
  }

  .contact-link {
    justify-self: start;
  }

  .site-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    flex-direction: column;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .brand-logo {
    width: min(280px, 76vw);
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.45rem);
  }

  .button {
    width: 100%;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-item {
    border-right: 0;
  }

  .focus-item:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
}
