:root {
  --ink: #181815;
  --paper: #ffffff;
  --blush: #f4dfe2;
  --burgundy: #681f30;
  --muted: #65625d;
  --line: #cbc7bd;
  --serif: "Italiana", serif;
  --sans: "Inter", sans-serif;
  --text-small: .875rem;
  --text-body: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .98; }
p { color: var(--muted); font-size: var(--text-body); line-height: 1.7; }
.site-canvas { width: 100%; margin: 0; background: var(--paper); }

.site-header { position: relative; display: grid; height: 112px; grid-template-columns: 1fr 300px 1fr; align-items: center; padding: 0 3.5rem; }
.brand { display: block; width: 285px; height: 76px; justify-self: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.nav-group { display: flex; align-items: center; gap: clamp(1.3rem, 2.2vw, 2.7rem); }
.nav-group--right { justify-content: flex-end; }
.nav-group a { font-family: var(--sans); font-size: var(--text-small); font-weight: 400; }
.nav-group a, .text-link { transition: opacity .25s ease; }
.nav-group a:hover, .text-link:hover { opacity: .5; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }
.icon { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-link { display: inline-flex !important; align-items: center; gap: .5rem; }

.hero { position: relative; height: calc(100svh - 112px); min-height: 690px; margin: 0 2.25rem; overflow: hidden; color: #fff; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) contrast(1.04); }
.hero__video--mobile { display: none; }
.hero__shade { position: absolute; inset: 0; background: rgba(14,14,12,.34); }
.hero__content { position: absolute; z-index: 1; left: 50%; top: 49%; width: min(900px, calc(100% - 3rem)); text-align: center; transform: translate(-50%, -50%); }
.hero__content h1 { font-size: clamp(5rem, 9vw, 9.5rem); line-height: .78; letter-spacing: -.035em; }
.hero__content h1 em { display: inline-block; margin-right: .14em; font-size: .62em; font-weight: 400; text-transform: lowercase; transform: translateY(-.08em); }
.hero__content p { max-width: 440px; margin: 2.2rem auto 1.2rem; color: rgba(255,255,255,.88); font-family: var(--sans); font-size: 1rem; }
.hero__content a { display: inline-block; padding-bottom: .3rem; border-bottom: 1px solid rgba(255,255,255,.85); font-family: var(--sans); font-size: var(--text-small); }

.about { display: grid; min-height: 850px; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(4rem, 9vw, 9rem); padding: 8rem clamp(5rem, 11vw, 12rem); background: var(--blush); }
.about__copy { max-width: 590px; }
.about h2 { font-size: clamp(3.5rem, 5.2vw, 5.5rem); }
.about h2 em { font-weight: 400; }
.about p { max-width: 500px; margin-top: 2rem; font-size: 1rem; }
.about__image { width: 100%; }
.about__image img { height: 590px; object-fit: cover; object-position: center 25%; }
.text-link { display: inline-block; margin-top: 2rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ink); font-family: var(--sans); font-size: var(--text-small); }

.services { position: relative; min-height: 900px; padding: 5rem 2.25rem 9rem; overflow: hidden; background: #fff; }
.services__words { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; font-family: var(--serif); font-size: clamp(7rem, 13vw, 13.5rem); line-height: .73; letter-spacing: -.045em; }
.services__words span:nth-child(2) { transform: translateX(6%); }
.services__words span:nth-child(3) { transform: translateX(-7%); }
.services__image { position: absolute; z-index: 2; left: 50%; top: 46%; width: 315px; height: 520px; object-fit: cover; object-position: 58% center; transform: translate(-50%, -42%); }

.portfolio { display: grid; grid-template-columns: 1fr .78fr; grid-template-rows: auto auto; gap: 5rem 8rem; padding: 8rem clamp(5rem, 10vw, 11rem); border-top: 1px solid var(--line); background: var(--blush); }
.portfolio figure { margin: 0; }
.portfolio__large { grid-row: 1 / 3; }
.portfolio__large img { height: 940px; object-fit: cover; object-position: center 68%; }
.portfolio__copy { align-self: end; padding-top: 4rem; }
.portfolio__copy h2 { font-size: clamp(3.4rem, 5vw, 5.2rem); }
.portfolio__copy p { margin-top: 1.7rem; }
.portfolio__small img { height: 390px; object-fit: cover; }

.stories { padding: clamp(7rem, 10vw, 10rem) clamp(2rem, 5vw, 5rem); color: #fff; background: var(--burgundy); }
.stories__heading { display: flex; align-items: end; justify-content: space-between; gap: 4rem; margin: 0 auto 4.5rem; }
.stories__heading h2 { max-width: 760px; font-size: clamp(4rem, 6.5vw, 7rem); }
.stories__heading p { max-width: 410px; color: rgba(255,255,255,.72); }
.stories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.work-card { min-width: 0; padding: 1.25rem 1.25rem 1.6rem; color: var(--ink); background: #fff; }
.work-card:nth-child(2), .work-card:nth-child(5) { background: var(--blush); }
.work-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work-card:nth-child(1) img, .work-card:nth-child(4) img { object-position: center 40%; }
.work-card:nth-child(3) img { object-position: center 45%; }
.work-card h3 { margin: 1.3rem 0 .35rem; font-family: var(--serif); font-size: clamp(1.65rem, 2vw, 2.2rem); font-weight: 400; line-height: 1.05; }
.work-card p { font-size: var(--text-small); line-height: 1.6; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(4rem, 9vw, 10rem); padding: clamp(7rem, 10vw, 10rem) clamp(3rem, 9vw, 10rem); color: #fff; background: var(--burgundy); }
.contact__intro h2 { max-width: 650px; font-size: clamp(4rem, 6.5vw, 7rem); }
.contact__intro p { max-width: 540px; margin-top: 2rem; color: rgba(255,255,255,.72); font-size: 1rem; }
.contact__intro > a { display: inline-block; margin-top: 2.2rem; padding-bottom: .3rem; border-bottom: 1px solid rgba(255,255,255,.7); font-size: var(--text-small); }
.contact-form { display: flex; flex-direction: column; gap: 1.7rem; padding: 3rem; color: var(--ink); background: var(--blush); }
.contact-form label { display: flex; flex-direction: column; gap: .65rem; font-size: var(--text-small); font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(104,31,48,.35); border-radius: 0; outline: none; color: var(--ink); background: transparent; font: 400 1rem/1.5 var(--sans); }
.contact-form input { height: 46px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--burgundy); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-form .button { align-self: flex-start; border-color: var(--burgundy); color: #fff; background: var(--burgundy); }
.contact-form .button:hover { color: var(--burgundy); background: transparent; }
.button { display: inline-flex; min-height: 52px; align-items: center; padding: .8rem 1.6rem; border: 1px solid currentColor; font-family: var(--sans); font-size: var(--text-small); transition: color .25s ease, background .25s ease; }
.button:hover { color: var(--ink); background: #fff; }

.site-footer { display: grid; grid-template-columns: 1.45fr .75fr .85fr 1fr; gap: clamp(2.5rem, 5vw, 6rem); padding: 5rem clamp(3rem, 6vw, 7rem) 2rem; border-top: 1px solid var(--line); background: #fff; }
.footer-brand img { width: 290px; height: 82px; object-fit: contain; }
.footer-brand p { max-width: 390px; margin-top: 1.5rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.footer-column h2 { margin-bottom: .55rem; font-family: var(--sans); font-size: var(--text-small); font-weight: 600; }
.footer-column a, .footer-column p { color: var(--muted); font-size: var(--text-small); line-height: 1.65; }
.footer-column a { transition: color .2s ease; }
.footer-column a:hover { color: var(--burgundy); }
.footer-contact > a { color: var(--ink); }
.footer-bottom { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-bottom p, .footer-bottom a { color: #817d76; font-size: var(--text-small); }
.footer-bottom div { display: flex; gap: 1.5rem; }

.demo-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1.5rem; }
.demo-modal[hidden] { display: none; }
.demo-modal__backdrop { position: absolute; inset: 0; background: rgba(13,13,12,.72); backdrop-filter: blur(8px); }
.demo-modal__card { position: relative; width: min(520px, 100%); padding: 4rem; text-align: center; background: #f7f4ef; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.demo-modal__logo { width: 132px; height: 72px; margin: 0 auto 2.4rem; object-fit: contain; }
.demo-modal__card h2 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
.demo-modal__card > p { max-width: 390px; margin: 1.5rem auto 2.2rem; font-size: var(--text-body); }
.button--dark { color: #fff; background: var(--ink); }
.button--dark:hover { color: var(--ink); background: transparent; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__content.reveal { transform: translate(-50%, calc(-50% + 18px)); }
.js .hero__content.reveal.is-visible { transform: translate(-50%, -50%); }
.js .services__image.reveal { transform: translate(-50%, calc(-42% + 18px)); }
.js .services__image.reveal.is-visible { transform: translate(-50%, -42%); }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.025); } }

@media (max-width: 1000px) {
  .site-header { position: relative; display: flex; height: 90px; justify-content: center; padding: 0 1.5rem; }
  .brand { width: 220px; height: 62px; }
  .nav-group { display: none; }
  .mobile-nav { position: fixed; z-index: 50; inset: 0; display: flex; visibility: hidden; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; color: #fff; background: #20201d; opacity: 0; transition: opacity .3s ease, visibility .3s ease; }
  .mobile-nav.is-open { visibility: visible; opacity: 1; }
  .mobile-nav a { font-family: var(--sans); font-size: 1.4rem; font-weight: 400; }
  .menu-toggle { position: absolute; z-index: 60; right: 1rem; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; color: var(--ink); background: none; transform: translateY(-50%); cursor: pointer; }
  .menu-toggle[aria-expanded="true"] { color: #fff; }
  .menu-toggle .icon { grid-area: 1 / 1; width: 24px; height: 24px; transition: opacity .2s ease, transform .2s ease; }
  .menu-toggle .icon--close { opacity: 0; transform: rotate(-45deg) scale(.8); }
  .menu-toggle[aria-expanded="true"] .icon--menu { opacity: 0; transform: rotate(45deg) scale(.8); }
  .menu-toggle[aria-expanded="true"] .icon--close { opacity: 1; transform: none; }
  .hero { height: calc(100svh - 90px); min-height: 620px; margin: 0 1rem; }
  .about { grid-template-columns: 1fr; padding: 7rem 2rem; }
  .about__image { max-width: 520px; margin-left: auto; }
  .services { min-height: 690px; }
  .services__image { width: 240px; height: 400px; }
  .portfolio { grid-template-columns: 1fr; padding: 6rem 2rem; }
  .portfolio__large { grid-row: auto; }
  .portfolio__large img { height: 75vh; }
  .stories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stories__heading { display: block; }
  .stories__heading p { margin-top: 1.5rem; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero__video--desktop { display: none; }
  .hero__video--mobile { display: block; }
  .hero__content h1 { font-size: 3.8rem; }
  .about h2 { font-size: 3.25rem; }
  .about__image img { height: 520px; }
  .services { min-height: 560px; padding-right: 0; padding-left: 0; }
  .services__words { font-size: 4.5rem; }
  .services__image { top: 45%; width: 175px; height: 300px; }
  .stories { padding-right: 1rem; padding-left: 1rem; }
  .stories__grid { grid-template-columns: 1fr; }
  .contact { padding: 5rem 1.25rem; }
  .contact__intro h2 { font-size: 3.8rem; }
  .contact-form { padding: 2rem 1.25rem; }
  .contact-form__row { grid-template-columns: 1fr; gap: 1.7rem; }
  .site-footer { grid-template-columns: 1fr; padding: 3.5rem 1.25rem 2rem; }
  .footer-brand, .footer-bottom { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .demo-modal__card { padding: 3rem 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
