@font-face {
  font-family: Anton;
  src: url('./media/anton.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('./media/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #151411;
  --black: #10100e;
  --paper: #f7f4ec;
  --stone: #eee9de;
  --sand: #e9ded1;
  --muted: #59544d;
  --orange: #ff684b;
  --rust: #a13822;
  --line: #d7d0c3;
  --soft-line: #44403a;
  --display: Anton, Impact, 'Arial Narrow', sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(1.1rem, 4.45vw, 4.9rem);
  --section: clamp(3.5rem, 8vw, 8.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, blockquote { font-family: var(--display); font-weight: 400; line-height: 1.03; text-transform: uppercase; }
h2 { font-size: clamp(3rem, 5.7vw, 6.4rem); letter-spacing: -.008em; }
h3 { font-size: clamp(2rem, 3.2vw, 3.8rem); letter-spacing: -.015em; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.dark :focus-visible, .topbar :focus-visible, .hero :focus-visible, .logo-strip :focus-visible { outline-color: var(--orange); }

.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 10; top: .6rem; left: .6rem; padding: .5rem 1rem; background: var(--paper); color: var(--ink); }
.wrap { width: min(100% - 2 * var(--gutter), 88rem); margin-inline: auto; }
.section-pad { padding-block: var(--section); }
.dark { background: var(--black); color: var(--sand); }
.eyebrow { font-family: var(--body); font-size: .875rem; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.accent { color: var(--rust); }
.text-link { display: inline-block; width: fit-content; font-weight: 700; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--rust); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .8rem 1.3rem; border: 1px solid transparent; border-radius: 0; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--rust); }
.button-accent { color: var(--ink); background: var(--orange); }
.button-accent:hover { background: var(--ink); color: var(--paper); }
.icon-button { width: 2.55rem; height: 2.55rem; display: inline-grid; place-items: center; padding: 0 0 .16rem; border: 1px solid var(--line); background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.icon-button:hover { border-color: currentColor; }
.icon-button:disabled { opacity: .42; cursor: default; }

.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; padding: .65rem var(--gutter); color: var(--paper); background: var(--black); border-bottom: 1px solid #35312c; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--paper); text-decoration: none; }
.brand-mark { font-family: var(--display); font-size: 2.15rem; line-height: .98; letter-spacing: -.045em; color: var(--paper); text-decoration: none; }
.brand-mark span { color: var(--orange); }
.brand-name { font-size: .73rem; font-weight: 700; line-height: 1.08; letter-spacing: .035em; }
.top-controls, .languages { display: flex; align-items: center; }
.top-controls { gap: clamp(.7rem, 2.4vw, 2rem); }
.languages { gap: .12rem; font-size: .88rem; font-weight: 700; color: #9b958a; }
.languages button { min-height: 2.5rem; padding: .2rem .22rem; border: 0; background: transparent; cursor: pointer; }
.languages button[aria-pressed='true'], .languages button:hover { color: var(--paper); }
.languages button[aria-pressed='true'] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .28em; }
.header-contact { border: 1px solid #776d60; padding: .46rem .9rem; color: var(--paper); background: transparent; font-weight: 700; font-size: .875rem; text-decoration: none; }
.header-contact:hover { color: var(--orange); border-color: var(--orange); }
.menu-toggle { width: 2.55rem; height: 2.55rem; border: 0; background: transparent; display: grid; place-items: center; padding: 0; cursor: pointer; }
.menu-icon { position: relative; display: block; width: 1.75rem; height: .66rem; }
.menu-icon span { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--paper); transition: transform .2s; }
.menu-icon span + span { top: auto; bottom: 0; }
.menu-toggle[aria-expanded='true'] .menu-icon span:first-child { transform: translateY(.26rem) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon span + span { transform: translateY(-.26rem) rotate(-45deg); }
.site-menu { position: absolute; top: 100%; right: var(--gutter); width: min(28rem, 100vw - 2 * var(--gutter)); padding: .5rem 1.35rem; background: var(--black); border: 1px solid var(--soft-line); }
.site-menu a { display: block; padding: .75rem 0; color: var(--paper); font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; text-decoration: none; }
.site-menu a + a { border-top: 1px solid var(--soft-line); }
.site-menu a:hover { color: var(--orange); }

.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(35rem, 50vw, 53rem); background: #62534a; color: var(--paper); }
.hero-photo, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: center 17%; filter: saturate(.62) brightness(.81); }
.hero-scrim { z-index: -1; background: linear-gradient(0deg, rgba(15, 13, 11, .85), rgba(15, 13, 11, .22) 32%, transparent 62%), linear-gradient(270deg, rgba(15, 13, 11, .34), transparent 35%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); align-items: end; gap: .6rem 2rem; padding-block: 1.5rem clamp(1.65rem, 4vw, 3.7rem); }
.hero-kicker { grid-column: 1 / -1; }
.hero h1 { justify-self: start; color: var(--orange); font-size: clamp(5.8rem, 12.1vw, 13.4rem); line-height: .91; letter-spacing: -.012em; }
.hero h1 span { color: var(--paper); }
.hero-info { align-self: end; font-size: clamp(1rem, 1.22vw, 1.18rem); font-weight: 600; }
.hero-links { display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; margin-top: 1.25rem; }
.hero-links a { font-size: .875rem; font-weight: 700; text-underline-offset: .32em; }
.hero-links a:hover { color: var(--orange); }

.logo-strip { background: var(--black); border-top: 1px solid var(--soft-line); color: var(--sand); }
.logo-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.55rem, 1.7vw, 1.25rem); min-height: 6rem; }
.logo-button { border-color: var(--soft-line); color: inherit; }
.logo-track { display: flex; align-items: center; gap: clamp(1.7rem, 5vw, 5rem); margin: 0; padding: .8rem .25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.logo-track::-webkit-scrollbar { display: none; }
.wordmark { flex: 1 0 auto; text-align: center; white-space: nowrap; scroll-snap-align: center; font-size: clamp(1.12rem, 2vw, 1.65rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.wordmark span { opacity: .8; }
.wordmark-lolla, .wordmark-grimm { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .012em; }
.wordmark-safir { letter-spacing: .11em; }

.intro-grid, .experience-grid, .about-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.intro-copy, .experience-copy, .about-copy { display: grid; justify-items: start; gap: clamp(.9rem, 2vw, 1.5rem); }
.intro-copy > p:not(.eyebrow), .experience-copy > p:not(.eyebrow), .about-copy > p:not(.eyebrow) { max-width: 29rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.23rem); }
.media { position: relative; overflow: hidden; background: #3b2f28; }
.media img { height: 100%; width: 100%; object-fit: cover; }
.media figcaption { position: absolute; right: .55rem; bottom: .52rem; padding: .23rem .43rem; background: #171410e0; color: var(--paper); font-size: .76rem; }
.intro-media { aspect-ratio: 1.14; }
.intro-media img { filter: grayscale(.95); }

.services { padding-block: clamp(3rem, 5.9vw, 6rem); }
.section-head { display: grid; justify-items: start; gap: 1.2rem; }
.service-head { padding-bottom: clamp(1.65rem, 3vw, 2.8rem); }
.service-head p { color: #d6cbbf; }
.display-wide { font-size: clamp(4.5rem, 13.6vw, 13rem); letter-spacing: -.016em; line-height: .98; }
.service-list, .faq-list { border-top: 1px solid var(--line); }
.service-list { border-color: var(--soft-line); }
.service-list details { border-bottom: 1px solid var(--soft-line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.service-list summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; min-height: 5rem; padding: 1.2rem .2rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 3.65rem); line-height: 1.08; }
.service-list summary:hover, .service-list details[open] summary { color: var(--orange); }
.service-list details p { max-width: 48rem; color: #d6cbbf; padding: 0 1rem 1.4rem .2rem; }
.plus { width: 1.3rem; height: 1.3rem; position: relative; display: block; flex: none; }
.plus::before, .plus::after { content: ''; width: 100%; height: 1px; background: currentColor; position: absolute; top: 50%; left: 0; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }

.notification { padding-block: .72rem; background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.ticker { overflow: hidden; display: grid; gap: .5rem; }
.ticker-row { display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 1.25vw, 1.2rem); min-width: max-content; transform: translateX(-2vw); }
.ticker-offset { transform: translateX(3vw); }
.ticker-row span { font-family: var(--display); font-size: clamp(1.35rem, 3vw, 3.15rem); line-height: 1; white-space: nowrap; text-transform: uppercase; }
.ticker-row img { flex: none; width: clamp(3.4rem, 7vw, 7.6rem); height: clamp(1.75rem, 3.4vw, 3.8rem); object-fit: cover; }

.experience, .about { background: var(--stone); }
.experience-mosaic { display: grid; grid-template-columns: 1.27fr 1fr; grid-template-rows: auto auto; gap: .5rem; }
.experience-mosaic img { aspect-ratio: 1.35; width: 100%; height: 100%; object-fit: cover; }
.experience-mosaic img:nth-child(even) { aspect-ratio: auto; }
.experience-copy h2 { font-size: clamp(2.55rem, 5.15vw, 5.55rem); }

.testimonials { background: var(--paper); text-align: center; border-bottom: 1px solid var(--line); }
.testimonial-wrap { max-width: 58rem; }
.testimonial-wrap article { display: grid; align-content: center; gap: 1.2rem; min-height: 13rem; }
.testimonial-wrap blockquote { font-size: clamp(1.85rem, 3.3vw, 3.75rem); line-height: 1.12; letter-spacing: -.015em; }
.testimonial-wrap article p { white-space: normal; color: var(--muted); }
.testimonial-wrap article p a { color: var(--ink); font-weight: 700; text-underline-offset: .22em; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: .85rem; }
.dot { width: 1.7rem; height: 2.55rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dot::before { content: ''; display: inline-block; vertical-align: middle; width: .42rem; height: .42rem; border-radius: 50%; background: #81766b; }
.dot[aria-current='true']::before { background: var(--rust); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--rust); }

.title-band { padding-block: clamp(1.55rem, 3.8vw, 3.75rem); }
.portfolio-body { padding-top: clamp(2.1rem, 5vw, 5rem); }
.portfolio-intro { color: var(--muted); margin-bottom: 1.65rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.project-list { display: grid; gap: clamp(1rem, 2.3vw, 2.2rem); }
.project { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); min-height: clamp(17rem, 26vw, 25rem); }
.project-media { min-height: 100%; }
.project-media img { position: absolute; inset: 0; }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; padding: clamp(1.25rem, 3.4vw, 3.7rem); background: var(--stone); }
.project-copy p:not(.eyebrow) { color: var(--muted); margin-bottom: .65rem; }
.project-copy a { margin-top: auto; }
.load-projects { display: flex; margin: clamp(1.75rem, 4vw, 3rem) auto 0; }

.about-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: clamp(6rem, 13vw, 11rem) clamp(3.5rem, 7vw, 6.5rem) clamp(6rem, 13vw, 11rem); gap: .5rem; }
.about-mosaic img { height: 100%; object-fit: cover; }
.about-face { grid-row: 1 / span 2; object-position: center 25%; }
.about-event { grid-column: 2; grid-row: 2 / span 2; }
.stat { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(.8rem, 2vw, 1.5rem); border: 1px solid transparent; }
.stat span { font-size: .87rem; font-weight: 700; text-transform: uppercase; }
.stat strong { font-family: var(--display); font-weight: 400; line-height: .95; font-size: clamp(2.3rem, 6vw, 5rem); }
.stat-dark { color: var(--paper); background: var(--black); }
.stat-orange { color: var(--ink); background: var(--orange); }

.personal { text-align: center; }
.personal-inner { max-width: 65rem; }
.personal h2 { margin: 1ch auto .55ch; max-width: 22ch; font-size: clamp(3rem, 6.7vw, 7rem); }
.personal p:last-child { margin-top: 1.45rem; }
.quote-frames { display: inline-block; width: 1.95em; height: .74em; vertical-align: .04em; position: relative; overflow: hidden; background: #514238; }
.quote-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.contact-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2rem, 7.4vw, 9rem); }
.contact-grid h3 { margin: .55rem 0 1rem; font-size: clamp(2.6rem, 5.1vw, 5.7rem); }
.contact-grid p:not(.eyebrow, .form-help), .faq-grid p { max-width: 31rem; color: var(--muted); }
.contact-email { margin-top: 1.45rem; overflow-wrap: anywhere; }
#contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
#contact-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .91rem; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
input, textarea { width: 100%; padding: .68rem .8rem; border: 1px solid var(--line); border-radius: 0; background: var(--stone); color: var(--ink); min-height: 2.8rem; font-weight: 400; }
textarea { resize: vertical; }
.submit-row { display: flex; flex-wrap: wrap; gap: .55rem 1rem; align-items: center; }
.form-help { font-size: .875rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq-grid { padding-top: clamp(2.55rem, 5vw, 5rem); }
.faq h2 { margin-bottom: .9rem; font-size: clamp(2.8rem, 5vw, 5.1rem); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3.5rem; padding: .8rem 0; font-weight: 700; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--rust); }
.faq-list p { padding: 0 1.1rem .95rem 0; }

.key-terms { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(26rem, 51vw, 52rem); display: grid; align-items: center; background: #2a2924; }
.key-terms > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 44%; filter: contrast(1.04) saturate(.63) brightness(.75); z-index: -1; }
.ribbons { display: grid; position: relative; list-style: none; margin: 0; padding: 0; gap: clamp(.7rem, 2vw, 2.4rem); }
.ribbon { display: flex; align-items: center; justify-content: center; width: max(100%, 65rem); margin-inline: auto; gap: clamp(1.3rem, 4vw, 5rem); padding: .28em .65em .33em; background: var(--paper); color: var(--ink); white-space: nowrap; text-transform: uppercase; font-family: var(--display); font-size: clamp(1.45rem, 4.2vw, 4.8rem); line-height: 1; }
.ribbon-a { transform: translate(-10%, 0) rotate(-12deg); }
.ribbon-b { transform: translate(-6%, 0) rotate(13deg); background: var(--orange); }
.ribbon-c { transform: translate(-9%, 0) rotate(-9deg); }
.ribbon-d { transform: translate(-9%, 0) rotate(10deg); background: var(--ink); color: var(--paper); }

.footer { padding-block: clamp(2.8rem, 5.7vw, 5.7rem) 1.3rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr .55fr; gap: 1.4rem; padding-bottom: clamp(2rem, 5.4vw, 5rem); }
.footer-main > div { padding-left: 1.3rem; border-left: 1px solid var(--soft-line); }
.footer-main .eyebrow { color: #c7b9ac; margin-bottom: .45rem; }
.footer-main a:hover, .footer-bottom a:hover { color: var(--orange); }
.footer-cta { display: block; width: fit-content; font-family: var(--display); font-size: clamp(1.9rem, 4.1vw, 4.8rem); line-height: 1.05; text-transform: uppercase; text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--soft-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.2rem; padding-top: 1.3rem; font-size: .85rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }

@media (max-width: 60rem) {
  .display-wide { font-size: 13.5vw; }
  .intro-grid, .experience-grid, .about-grid { gap: clamp(1.7rem, 4.25vw, 4rem); }
  .hero h1 { font-size: clamp(5.3rem, 12vw, 8.5rem); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem); }
  .footer-main { grid-template-columns: 1fr 1fr .55fr; }
}

@media (max-width: 43rem) {
  .topbar { min-height: 3.9rem; }
  .brand-mark { font-size: 1.95rem; }
  .header-contact { display: none; }
  .hero { min-height: max(33rem, min(78svh, 46rem)); }
  .hero-photo { object-position: 53% 20%; }
  .hero-scrim { background: linear-gradient(0deg, #100e0de8, #100e0d50 44%, transparent 74%); }
  .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .8rem; padding-block: 1rem 1.5rem; }
  .hero-kicker { grid-column: auto; font-size: .76rem; }
  .hero h1 { justify-self: center; font-size: clamp(4rem, 16vw, 7.1rem); }
  .hero-info { display: contents; }
  .hero-info > p { grid-row: 2; max-width: 30ch; font-size: .95rem; }
  .hero-links { margin-top: .15rem; justify-content: center; }
  .logo-inner { min-height: 4.35rem; }
  .logo-button { width: 1.9rem; height: 1.95rem; }
  .logo-track { gap: 1.55rem; }
  .wordmark { font-size: 1.1rem; }
  .intro-grid, .experience-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .intro-copy { justify-items: center; text-align: center; }
  .intro-media { aspect-ratio: 1.12; }
  .service-list summary { min-height: 4.3rem; }
  .experience-mosaic { max-width: 100%; }
  .experience-copy h2 { font-size: clamp(2.8rem, 11.2vw, 4.7rem); }
  .testimonial-wrap article { min-height: 12rem; padding-top: .85rem; }
  .project { grid-template-columns: minmax(0, 1fr); }
  .project-media { aspect-ratio: 1.55; }
  .project-copy { min-height: 12rem; }
  .about-mosaic { grid-template-rows: clamp(6rem, 24vw, 11rem) clamp(3.5rem, 13vw, 6.5rem) clamp(6rem, 24vw, 11rem); }
  .personal h2 { font-size: clamp(2.7rem, 9.7vw, 4.3rem); }
  .key-terms { min-height: 31rem; }
  .ribbon { width: max(100%, 39rem); transform-origin: 33% center; }
  .ribbon-a { transform: translate(-23%, -4%) rotate(-17deg); }
  .ribbon-b { transform: translate(-25%, 3%) rotate(18deg); }
  .ribbon-c { transform: translate(-21%, 3%) rotate(-15deg); }
  .ribbon-d { transform: translate(-24%, 4%) rotate(15deg); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
  .footer-main > div { padding-left: .7rem; }
  .footer-main > div a { overflow-wrap: anywhere; }
}

@media (max-width: 25rem) {
  .field-pair { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
