:root {
  --ink: #000;
  --paper: #fff;
  --accent: #edff1c;
  --serif: "libre baskerville", Georgia, serif;
  --sans: "poppins-extralight", Arial, sans-serif;
  --brand: "poppins-semibold", Arial, sans-serif;
  --gutter: 2.5%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 700 18px/1.55 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: #fff; }
.skip-link:focus { top: 10px; }
.section-pad { padding-right: var(--gutter); padding-left: var(--gutter); }
.site-header { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 10px var(--gutter); background: #fff; position: sticky; top: 0; z-index: 20; }
.brand { display: flex; gap: 10px; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: 31px; height: 31px; }
.brand span { font: 400 15px/1.3 var(--brand); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 25px; flex: 1; margin-left: 10%; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }
.site-nav .contact-link { min-height: 44px; padding: 5px 18px; border-radius: 30px; color: #fff; background: #000; font-size: 16px; }
.menu-toggle { border: 0; background: transparent; min-height: 44px; align-items: center; gap: 12px; padding: 8px 0 8px 8px; }
.menu-icon { width: 35px; height: 16px; display: block; border-top: 2px solid; border-bottom: 2px solid; }

.hero { background: #eff688; min-height: 124.4783vh; position: relative; display: grid; align-items: center; isolation: isolate; }
.hero-poster, .hero-video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; z-index: -1; opacity: .8; }
.hero-video { display: none; }
.hero-video.is-playing { display: block; }
.hero-content { padding: 34.8611vw 5% 8%; width: 100%; align-self: start; }
.hero h1 { max-width: 1161px; margin: 0 auto 8.98438vw; font-size: clamp(50px, 6.25vw, 90px); line-height: 1.2; text-align: center; }
.hero-arrow { display: flex; min-height: 86px; width: 60px; margin: 0 auto; align-items: center; justify-content: center; }
.hero-arrow img { width: 60px; height: 86px; }
.about-section { padding-top: 3%; padding-bottom: 3%; padding-right: 0; display: grid; grid-template-columns: .64fr 1.36fr; gap: 2.34375vw; }
.section-heading { grid-column: 1; grid-row: 1; }
.section-heading p { font-size: 20px; }
.section-heading h2 { font-size: clamp(38px, 2.96875vw, 46px); line-height: 1.2; margin-top: 6px; }
.about-copy { grid-column: 1; grid-row: 2; font-size: clamp(17px, 1.40625vw, 22px); line-height: 1.4; text-align: justify; }
.about-copy p + p { margin-top: 1.5em; }
.portrait { grid-column: 2; grid-row: 1 / 3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; min-height: 700px; max-height: 1200px; }
.services-section { padding-top: 6.1875%; padding-bottom: 0; background: linear-gradient(180deg, #e9e9e9 25.48%, #f1ff49 100%); }
.section-label { font: 700 25px/1.4 var(--sans); margin-bottom: 30px; }
.services-list { border-top: 1px solid #000; }
.service-row { padding: 30px 24px; border-bottom: 1px solid #000; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 36px; }
.service-row h3 { font-size: clamp(36px, 3.125vw, 54px); line-height: 1.3; }
.service-row p { font-size: 18px; line-height: 1.6; max-width: 673px; text-align: justify; }
.experience-section { min-height: 52.15vw; padding-top: 7.875%; padding-bottom: 8%; background: linear-gradient(180deg, #f1ff49 0%, #f2f2ef 77.37%); }
.experience-intro { max-width: 1100px; margin: 0 auto 16%; font: 400 clamp(36px, 3.28125vw, 48px)/1.3 var(--serif); text-align: center; }
.experience-stats { display: flex; justify-content: center; gap: 9%; }
.stat { display: flex; align-items: center; gap: 20px; max-width: 430px; }
.stat > * { min-width: 0; }
.stat > :not(.stat-number) { flex: 1; }
.stat-number { font: italic 400 clamp(50px, 4vw, 64px)/1 var(--serif); flex-shrink: 0; }
.stat p:not(.stat-number) { max-width: 260px; }
.case-section { padding-top: 3%; padding-bottom: 3%; display: grid; grid-template-columns: .64fr 1.36fr; gap: 34px; }
.case-copy { grid-column: 1; grid-row: 2; align-self: start; }
.case-copy p { margin-bottom: 35px; }
.case-image { grid-column: 2; grid-row: 1 / 3; width: 100%; height: 100%; object-fit: cover; min-height: 540px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 40px; }
.contact-section { padding-top: 52px; padding-bottom: 80px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 48px; background: #f3f3ef; }
.contact-intro { display: grid; grid-template-columns: 44px 1fr; align-content: start; align-items: center; gap: 18px 14px; }
.contact-intro > img { width: 44px; height: 44px; }
.contact-intro h2 { font-style: italic; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.15; margin: 0; }
.contact-intro > a { grid-column: 2; align-self: start; font-size: 17px; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 18px 24px; position: relative; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: 8px; font-size: 16px; }
.form-field input, .form-field textarea { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid #000; padding: 8px 2px; background: transparent; font-size: 16px; }
.form-field textarea { min-height: 96px; resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; min-height: 22px; overflow-wrap: anywhere; }
.form-status[data-state="error"] { color: #8b160e; }
.send-button { border: 0; border-bottom: 1px solid; background: transparent; min-height: 48px; padding: 8px 0; text-align: right; font-size: 18px; }
.send-button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.send-button:disabled { opacity: .5; }
#turnstile-widget:empty { display: none; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px var(--gutter) 44px; background: linear-gradient(180deg, #f3f3ef 0%, #edf1cd 58%, #e6eead 100%); color: var(--ink); text-align: center; }
.footer-signature { color: #55594c; font: 700 13px/1.5 var(--sans); letter-spacing: .055em; text-transform: uppercase; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 30px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }

.page-title { min-height: 23.4375vw; padding: 8.59375vw var(--gutter) 0; }
.page-title h1 { font-size: clamp(52px, 6.25vw, 90px); line-height: 1.2; }
.work-section { padding-top: 5px; padding-bottom: 80px; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.work-item { min-width: 0; }
.work-link { display: block; text-decoration: none; }
.work-link img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.work-link h2 { font-size: 25px; line-height: 1.3; margin: 17px 0 9px; overflow-wrap: anywhere; }
.work-link p { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.work-link:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.portfolio-note { max-width: 1000px; margin: 80px auto 0; text-align: center; font-size: 18px; }
.page-work main { background: linear-gradient(180deg, #eaf1b5 0%, #f2f5df 40%, #f7f8f1 75%, #f3f3ef 100%); }
.image-dialog { border: 0; padding: 25px; max-width: min(900px, 92vw); max-height: 92vh; color: #000; background: #fff; }
.image-dialog::backdrop { background: #000b; }
.dialog-close { display: flex; gap: 24px; min-height: 44px; align-items: center; border: 0; background: #fff; margin-left: auto; margin-bottom: 15px; }
.dialog-close span { font-size: 28px; }
.image-dialog h2 { font-size: 22px; line-height: 1.4; margin-bottom: 15px; }
.image-dialog img { max-height: 70vh; width: auto; margin: auto; object-fit: contain; }
.resume-section { padding-top: 6.1875%; padding-bottom: 40px; }
.resume-section-1 { background: linear-gradient(180deg, #e9e9e9 25.48%, #f1ff49 100%); }
.resume-section-2, .resume-section-3, .resume-section-4 { background: linear-gradient(180deg, #e9e9e9 25.48%, #f1ff49 100%); }
.resume-section-4 { padding-bottom: 90px; }
.resume-row { padding: 30px 0; border-top: 1px solid #000; display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.resume-row h3 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.2; }
.resume-row p { font-size: 18px; }
.resume-summary { text-align: justify; text-align-last: left; hyphens: auto; }
.resume-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.resume-row .resume-period { max-width: 100%; color: #43463c; font-size: 13px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.resume-row .resume-clients-label { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.resume-clients { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 18px; line-height: 1.5; }
.resume-clients li { overflow-wrap: anywhere; }
.resume-project-details { width: 100%; }
.resume-project-details summary { min-height: 44px; padding: 10px 0; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.resume-project-details > ul { display: grid; gap: 22px; margin: 16px 0 0; padding: 0; list-style: none; }
.resume-project-details h4 { margin: 0 0 4px; font: 700 16px/1.5 var(--sans); overflow-wrap: anywhere; }
.resume-project-details li p { font-size: 14px; }
.resume-project-details .resume-project-period { margin-top: 6px; color: #43463c; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.case-studies-section { padding-top: 130px; padding-bottom: 80px; background: linear-gradient(180deg, #efefeb 20.45%, #f4ff78); }
.case-studies-section > h1 { text-align: center; font-size: 60px; line-height: 1.3; }
.empty-blog { margin: 50px auto; max-width: 1100px; }
.all-posts { font-size: 16px; padding: 20px 0; }
.empty-blog-message { padding: 40px 15px; min-height: 142px; background: #fff; text-align: center; }
.empty-blog-message h2 { font: 400 28px/1.3 var(--serif); margin-bottom: 15px; }
.empty-blog-message p { font-size: 16px; }
.case-year { width: 18.125%; margin: 0 auto; font-size: max(12px, 4.6875vw); line-height: 1.3; text-align: center; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 90px; padding-bottom: 90px; gap: 25px; text-align: center; }
.not-found h1 { font-size: clamp(38px, 6vw, 70px); }

@media (min-width: 1600px) {
  .about-section, .case-section { gap: 40px; }
}

@media (max-width: 1000px) {
  :root { --gutter: 3%; }
  .site-header { min-height: 70px; gap: 20px; }
  .site-nav { gap: 24px; margin-left: 0; font-size: 14px; }
  .site-nav .contact-link { font-size: 14px; }
  .brand span { font-size: 22px; }
  .brand img { width: 23px; height: 23px; }
  .hero { min-height: 62.5vw; }
  .hero h1 { font-size: 6.25vw; }
  .hero-content { padding-top: 80px; padding-bottom: 10%; align-self: end; }
  .hero-arrow, .hero-arrow img { width: 44px; height: 63px; min-height: 63px; }
  .about-section, .case-section { gap: 24px; }
  .portrait { min-height: 620px; }
  .case-image { min-height: 430px; }
  .service-row { gap: 6%; padding: 28px 0; }
  .service-row h3 { font-size: 38px; }
  .service-row p { font-size: 16px; }
  .contact-intro h2 { font-size: 44px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 25px; }
  .work-link h2 { font-size: 28px; }
  .resume-row { gap: 6%; }
  .resume-row h3 { font-size: 32px; }
  .case-studies-section > h1 { font-size: 48px; }
}

@media (max-width: 700px) {
  :root { --gutter: 5%; }
  html { scroll-padding-top: 86px; }
  .site-header { min-height: 70px; padding-top: 6px; padding-bottom: 6px; gap: 12px; flex-wrap: wrap; }
  .brand { gap: 7px; max-width: calc(100% - 55px); min-width: 0; flex-shrink: 1; }
  .brand span { min-width: 0; overflow-wrap: anywhere; font-size: clamp(22px, 6.6667vw, 26px); line-height: 1.04; }
  .brand img { width: 23px; height: 23px; flex-shrink: 0; }
  .menu-toggle:not([hidden]) { display: flex; margin-left: auto; flex-shrink: 0; font-size: 14px; }
  .menu-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 20px; font-size: 22px; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { min-height: 48px; }
  .site-nav .contact-link { margin: 10px 0 0; align-self: flex-start; font-size: 18px; }
  .hero { min-height: 477px; }
  .hero-content { padding: 90px 5% 80px; }
  .hero h1 { max-width: 500px; font-size: 34px; line-height: 1.2; margin-bottom: 60px; }
  .hero-arrow, .hero-arrow img { width: 36px; height: 52px; min-height: 52px; }
  .about-section { padding-top: 8%; padding-right: var(--gutter); padding-bottom: 5%; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .section-heading { grid-column: 1; grid-row: auto; }
  .section-heading p { font-size: 18px; }
  .section-heading h2 { font-size: 36px; margin: 4px 0 25px; }
  .about-copy { grid-column: 1; grid-row: auto; font-size: 18px; padding-bottom: 35px; }
  .about-copy p + p { margin-top: 1.4em; }
  .portrait { grid-column: 1; grid-row: auto; width: 96.1364322366%; min-height: 997.203125px; height: 997.203125px; aspect-ratio: auto; max-height: none; }
  .services-section { padding-top: 12%; }
  .section-label { font-size: 18px; margin-bottom: 25px; }
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 0; }
  .service-row h3 { font-size: 36px; line-height: 1.15; }
  .service-row p { font-size: 16px; }
  .experience-section { min-height: 0; padding-top: 16%; padding-bottom: 18%; }
  .experience-intro { font-size: 32px; line-height: 1.3; margin-bottom: 75px; }
  .experience-stats { flex-direction: column; align-items: center; gap: 35px; }
  .stat { gap: 15px; width: 100%; max-width: 390px; }
  .stat-number { font-size: 50px; width: auto; min-width: 100px; text-align: center; }
  .stat p:not(.stat-number) { font-size: 18px; }
  .case-section { padding-top: 8%; padding-bottom: 5%; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .case-copy { grid-column: 1; grid-row: auto; margin-bottom: 30px; font-size: 16px; }
  .case-copy p { margin-bottom: 20px; }
  .case-image { grid-column: 1; grid-row: auto; min-height: 0; height: auto; aspect-ratio: 1.3; }
  .contact-section { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 64px; }
  .contact-intro { grid-template-columns: 36px 1fr; gap: 12px; }
  .contact-intro > img { width: 36px; height: 36px; }
  .contact-intro h2 { font-size: 40px; }
  .contact-intro > a { grid-column: 1 / -1; font-size: 17px; }
  .contact-form { gap: 18px; }
  .form-field label { font-size: 16px; }
  .social-links { column-gap: 22px; }
  .page-title { min-height: 105px; padding: 30px var(--gutter); }
  .page-title h1 { font-size: 28px; }
  .work-section { padding-bottom: 55px; }
  .portfolio-note { margin-top: 55px; text-align: left; font-size: 16px; }
  .resume-section { padding-top: 12%; padding-bottom: 25px; }
  .resume-section-4 { padding-bottom: 55px; }
  .resume-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .resume-row h3 { font-size: 34px; }
  .resume-row p { font-size: 16px; overflow-wrap: anywhere; }
  .resume-row .resume-period { font-size: 13px; }
  .resume-row .resume-clients-label { font-size: 12px; }
  .resume-clients { font-size: 16px; }
  .case-studies-section { padding-top: 80px; padding-bottom: 45px; }
  .case-studies-section > h1 { font-size: 32px; }
  .empty-blog { margin-top: 35px; }
  .empty-blog-message { padding: 45px 15px; }
  .empty-blog-message h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .work-link h2 { font-size: 28px; margin-top: 18px; }
  .work-link p { font-size: 16px; }
}

@media (max-width: 350px) {
  .menu-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .hero h1 { font-size: 30px; }
  .hero { min-height: 450px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-intro > a { font-size: 16px; }
  .service-row h3, .resume-row h3 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none !important; }
}
