@font-face {
  font-family: 'Syne';
  src: url('fonts/syne-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f5f1;
  --ink: #242824;
  --green: #243934;
  --line: #d8d8d0;
  --display: 'Syne', sans-serif;
  --accent: #d6ef78;
  --body: 'Source Sans 3', sans-serif;
  --section-space: clamp(64px, 8vw, 120px);
  --gutter: clamp(24px, 5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--green); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, select { transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
p { margin: 0 0 24px; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-wrap: pretty; }
h1 { font-size: clamp(80px, 8.8vw, 132px); line-height: .92; letter-spacing: -.045em; }
h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.14; letter-spacing: -.015em; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 10; padding: 12px 20px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 112px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }
.wordmark { font: 700 25px/1 var(--display); letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: 16px; }
.site-nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.lang-switch { min-width: 44px; min-height: 44px; display: grid; place-items: center; text-decoration: none; font-size: 14px; border-left: 1px solid var(--line); padding-left: 24px; }
.site-header > .lang-switch:last-child { margin-left: auto; }
.site-header:has(.site-nav) > .lang-switch:last-child { margin-left: 0; }
.hero { padding-top: clamp(48px, 6.5vw, 96px); }
.hero-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.role { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.hero-intro { max-width: 410px; justify-self: end; padding-bottom: 4px; }
.hero-intro p { margin-bottom: 24px; }
.button { min-height: 52px; display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 14px 22px; background: var(--green); color: var(--paper); border: 1px solid var(--green); border-radius: 2px; text-decoration: none; font-size: 16px; font-weight: 600; cursor: pointer; }
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: wait; opacity: .6; }
.button span, .text-link span { font-weight: 400; font-size: 20px; }
.hero-photo { width: 100%; aspect-ratio: 1600 / 479; object-fit: cover; }
.services { display: grid; grid-template-columns: 1fr 3fr; gap: 64px; border-bottom: 1px solid var(--line); }
.section-label { font: 400 17px/1.5 var(--body); padding-top: 6px; }
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.service + .service { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.service p:last-child { margin-bottom: 0; }
.services-content > .text-link { margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { gap: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.section-heading p { font-size: 16px; max-width: 360px; margin: 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.portfolio-item { display: block; text-decoration: none; }
.portfolio-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portfolio-item img.portfolio-portrait { aspect-ratio: auto; }
.portfolio-caption { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; min-height: 44px; font-size: 14px; }
.portfolio-item:hover .portfolio-caption { text-decoration: underline; text-underline-offset: 4px; }
.work-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; font-size: 14px; }
.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 96px; border-top: 1px solid var(--line); }
.about-copy { max-width: 640px; }
.about-copy .lead { font-size: 23px; line-height: 1.5; margin-bottom: 32px; }
.about-copy p:last-child { margin-bottom: 0; }
.contact-band { background: var(--green); color: var(--paper); }
.contact { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(48px, 7vw, 112px); padding-block: var(--section-space); }
.contact h2 { max-width: 400px; margin-bottom: 32px; }
.contact-copy > p { max-width: 360px; }
.contact-direct { margin-top: 48px; font-size: 16px; }
.contact-direct a { display: inline-block; min-height: 44px; padding-top: 8px; overflow-wrap: anywhere; }
.contact a:hover { color: var(--paper); }
.contact :focus-visible { outline-color: var(--paper); }
.form-intro { margin-bottom: 16px; }
.form-note { font-size: 14px; margin-bottom: 32px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 16px; }
.field label span { font-size: 14px; }
.field input, .field select, .field textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 2px; padding: 12px; min-height: 48px; background: var(--paper); color: var(--ink); }
.field textarea { resize: vertical; }
.field small { display: block; font-size: 14px; margin-top: 8px; }
.field select, .field input[type='date'] { color-scheme: light; }
.field input[type='date'] { cursor: pointer; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-color: var(--paper); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-style: double; border-width: 3px; }
.form-bottom { margin-top: 32px; }
.contact .button { color: var(--green); background: var(--paper); border-color: var(--paper); }
.contact .button:hover { color: var(--paper); background: var(--green); }
.form-privacy { font-size: 14px; margin: 24px 0 0; max-width: 460px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 40px; }
.site-footer > div { display: flex; gap: 32px; font-size: 14px; }
.site-footer > div a { display: inline-flex; min-height: 44px; align-items: center; }
.document { max-width: 760px; padding-block: var(--section-space); min-height: calc(100svh - 240px); }
.document h1 { font-size: clamp(48px, 6vw, 80px); line-height: 1.05; margin-bottom: 40px; }
.document h2 { font: 600 20px/1.4 var(--body); margin-block: 40px 16px; letter-spacing: 0; }
.document .lead { font-size: 22px; }
.document > .text-link { margin-top: 24px; }
.preview-tweaks { position: fixed; right: 16px; bottom: 16px; z-index: 5; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; }
.preview-tweaks summary { min-height: 44px; cursor: pointer; padding: 12px 20px; }
.preview-controls { display: grid; gap: 8px; padding: 8px 20px 20px; }
.preview-controls select { min-height: 44px; background: var(--paper); padding: 8px; border: 1px solid var(--line); margin-bottom: 8px; }
:root[data-preview-spacing='compact'] { --section-space: clamp(48px, 5vw, 80px); }
@media (min-width: 761px) {
  :root[data-preview-gallery='2'] .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Studio direction: strong name, one vivid accent, and varied image scale. */
.hero h1 > span { display: block; width: fit-content; }
.hero h1 .name-accent { background: var(--accent); padding: 0 .08em .08em; margin-left: -.08em; margin-top: .08em; }
.hero-heading { align-items: center; }
.hero-intro { padding: 24px 0 24px 32px; border-left: 2px solid var(--green); }
.role { font-weight: 600; }
.hero-photo { border-bottom: 8px solid var(--accent); }
.button { border-radius: 0; }
.hero .button { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero .button:hover { background: var(--green); color: var(--paper); border-color: var(--green); }
.lang-switch:hover { background: var(--accent); color: var(--ink); }
.section-label { font-weight: 600; }
.services { grid-template-columns: 1fr 3.5fr; gap: 48px; }
.service { grid-template-columns: 1fr 1.2fr; gap: 32px; }
.services-content > .text-link { background: var(--accent); border: 0; padding: 8px 16px; }
.work { position: relative; }
.work .section-heading { border-top: 5px solid var(--green); padding-top: 32px; }
.portfolio-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 40px 24px; }
.portfolio-item { grid-column: span 4; }
.portfolio-item:nth-child(6n + 1), .portfolio-item:nth-child(6n + 5) { grid-column: span 5; }
.portfolio-item:nth-child(6n + 2), .portfolio-item:nth-child(6n + 4) { grid-column: span 3; margin-top: 64px; }
.portfolio-caption { border-bottom: 1px solid var(--line); }
.portfolio-caption > span { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: var(--ink); }
.about > h2 { max-width: 360px; }
.contact h2 { color: var(--accent); overflow-wrap: anywhere; }
.contact .button { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.contact .button:hover { background: var(--paper); color: var(--green); }
.site-footer { border-top: 8px solid var(--accent); }
:root[data-preview-gallery='2'] .portfolio-item { grid-column: auto; margin-top: 0; }
@media (max-width: 1080px) {
  .hero-heading { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .services { grid-template-columns: 1fr; gap: 32px; }
  .service { grid-template-columns: 1fr 1.4fr; }
  .about { gap: 48px; }
  .contact { gap: 48px; grid-template-columns: 1fr 1.3fr; }
}
@media (max-width: 760px) {
  .site-header { min-height: 88px; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
  .site-nav { order: 3; width: 100%; margin: 0; gap: 24px; justify-content: space-between; font-size: 15px; }
  .site-header:has(.site-nav) > .lang-switch:last-child { margin-left: auto; }
  .hero-heading { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .hero-intro { max-width: 520px; justify-self: start; padding: 0; border-left: 0; }
  .hero-photo { border-bottom-width: 5px; aspect-ratio: 1600 / 700; object-position: 55% center; }
  .role { font-size: 12px; margin-bottom: 20px; }
  .service { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading p { margin-top: 24px; max-width: 440px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .portfolio-item:nth-child(n) { grid-column: auto; margin-top: 0; }
  .portfolio-item:nth-child(even) { margin-top: 32px; }
  .work-footer { align-items: start; flex-direction: column; gap: 12px; margin-top: 32px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-copy .lead { font-size: 21px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact h2, .contact-copy > p { max-width: 520px; }
  .contact-direct { margin-top: 24px; }
  .site-footer { align-items: start; flex-direction: column; gap: 16px; padding-block: 32px; }
  .site-footer > div { flex-wrap: wrap; gap: 24px; }
}
@media (max-width: 420px) {
  .field-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(64px, 20vw, 80px); }
  .portfolio-grid { column-gap: 12px; }
  .site-nav { gap: 12px; font-size: 14px; }
  .contact .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
