:root {
  --paper: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #535357;
  --line: #dedee0;
  --accent: #E21D32;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: #fbd5d9; color: var(--ink); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
p, h1, h2, h3 { margin: 0; }
p { font-size: 1.375rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -90px; padding: 12px 20px; background: var(--ink); color: white; font-size: 1rem; z-index: 99; }
.skip-link:focus { top: 16px; }
.site-header { height: 106px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-logo { display: block; width: 224px; aspect-ratio: 1923 / 476; flex-shrink: 0; }
.brand-logo img { width: 100%; height: auto; }
.header-logo { position: relative; overflow: hidden; }
.header-logo img { position: absolute; width: 112.949%; max-width: none; left: -5.096%; top: -26.471%; }
.header-inner nav { display: flex; gap: 34px; align-items: center; }
.header-inner nav a { font-size: 1.125rem; line-height: 1.4; font-weight: 500; }
.header-inner nav a:hover { color: var(--accent); }
.nav-contact { padding: 12px 21px; border: 1px solid #d5d5d8; border-radius: 8px; }
.nav-contact:hover { border-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 26px; padding-block: 32px 52px; }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(4rem, 7.5vw, 6.65rem); font-weight: 500; line-height: 1.04; letter-spacing: -.065em; }
.hero-description { font-size: 1.5rem; line-height: 1.5; max-width: 465px; color: var(--muted); margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 16px 25px; border-radius: 8px; font-size: 1.125rem; font-weight: 500; line-height: 1.3; transition: background .2s; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #3b3b3f; }
.hero .button { margin-top: 30px; }
.hero-art { min-width: 0; }
.logo-play { display: block; width: min(100%, 480px); margin-inline: auto; padding: 0; border: 0; background: transparent; border-radius: 32px; line-height: 0; cursor: pointer; perspective: 900px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.logo-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -8px; }
.logo-tilt { display: block; transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-origin: 50% 55%; transition: transform 480ms cubic-bezier(.2, .8, .2, 1); }
.hero-art img { width: 100%; height: auto; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); transform-origin: 50% 55%; filter: drop-shadow(0 18px 26px rgb(226 29 50 / 0)) drop-shadow(0 4px 8px rgb(226 29 50 / 0)); transition: transform 480ms cubic-bezier(.2, .8, .2, 1), filter 480ms ease; user-select: none; }
.logo-play.is-engaged .logo-tilt { transition-duration: 140ms; }
.logo-play.is-engaged img, .logo-play:focus-visible img { transform: translate3d(0, -12px, 0) rotate(-2deg) scale(1.035); filter: drop-shadow(0 18px 26px rgb(226 29 50 / .22)) drop-shadow(0 4px 8px rgb(226 29 50 / .12)); }
.logo-play.is-flying .logo-tilt { transform: none; transition-duration: 180ms; }
.logo-play.is-flying img, .logo-play.is-settled img { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
.logo-play.is-flying img { will-change: transform; transition: filter 480ms ease; }
.section-label { font-size: 1.25rem; line-height: 1.4; font-weight: 500; color: var(--accent); }
h2 { font-size: clamp(2.75rem, 4.5vw, 4rem); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.focus-section { background: #f5f5f6; padding-block: 88px; }
.heading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.heading-grid > p { color: var(--muted); max-width: 520px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 52px; }
.focus-item { border-top: 1px solid #d3d3d6; padding-top: 28px; min-width: 0; }
.focus-item h3 { font-size: 1.75rem; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 16px; }
.focus-item p { font-size: 1.25rem; line-height: 1.6; color: var(--muted); }
.work-section { padding-block: 0 88px; }
.work-section > .section-label { margin-bottom: 30px; }
.work-project { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.work-project > img { width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; }
.work-copy h2 { font-size: clamp(2.5rem, 4vw, 3.75rem); }
.work-copy p { margin-top: 22px; font-size: 1.25rem; color: var(--muted); }
.work-link { display: inline-block; margin-top: 26px; font-size: 1.125rem; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.work-project:hover .work-link { color: var(--accent); }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding-block: 96px; }
.about-heading .section-label { margin-bottom: 30px; }
.about-heading h2 { font-size: clamp(2.75rem, 4.2vw, 3.75rem); }
.about-content { padding-top: 4px; }
.about-content p { font-size: 1.375rem; line-height: 1.65; color: var(--muted); }
.about-content p + p { margin-top: 24px; }
.about-content p:first-child { color: var(--ink); }
.contact-section { background: #f3f3f4; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-block: 72px; }
.contact-details > p { font-size: 1.25rem; color: var(--muted); margin-bottom: 17px; }
.contact-email { display: block; font-size: clamp(1.75rem, 2.8vw, 2.3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; text-decoration: underline; text-decoration-color: #b2b2b5; text-underline-offset: 7px; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--accent); }
.contact-details .button { margin-top: 26px; }
.site-footer { background: var(--ink); color: white; }
.footer-inner { min-height: 126px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-logo { position: relative; width: 190px; overflow: hidden; }
/* Use the original high-resolution alpha directly, avoiding Safari's SVG filter rasterization. */
.footer-logo-art {
  position: absolute; width: 112.949%; height: 152.101%; left: -5.096%; top: -26.471%;
  background: #fff;
  -webkit-mask: url("/assets/inez-labs-logo-graphite-hd.png") center / 100% 100% no-repeat;
  mask: url("/assets/inez-labs-logo-graphite-hd.png") center / 100% 100% no-repeat;
}
.footer-inner p, .footer-inner > span { font-size: 1rem; line-height: 1.5; color: #b8b8bb; }
.footer-inner .footer-coordinates { font-size: 1.125rem; color: white; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .brand-logo { width: 200px; }
  .hero { gap: 22px; padding-top: 28px; }
  .hero-description { font-size: 1.375rem; }
  .heading-grid, .about-section, .contact-inner { gap: 48px; }
  .focus-grid { gap: 28px; }
  .focus-item h3 { font-size: 1.625rem; }
  .footer-logo { width: 180px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 48px); }
  .site-header { height: 88px; }
  .brand-logo { width: 170px; }
  .header-inner nav { gap: 20px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-block: 29px 42px; }
  h1 { font-size: clamp(3.4rem, 12.2vw, 5.5rem); line-height: 1.06; letter-spacing: -.055em; }
  .hero-description { font-size: 1.375rem; max-width: 475px; margin-top: 24px; }
  .hero .button { margin-top: 26px; }
  .hero-art { width: min(100%, 340px); margin-inline: auto; }
  .hero-art img { width: 100%; height: auto; }
  h2, .about-heading h2 { font-size: clamp(2.35rem, 7.8vw, 3rem); line-height: 1.14; }
  .heading-grid, .about-section, .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .focus-section { padding-block: 64px; }
  .heading-grid > p { font-size: 1.25rem; }
  .focus-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 36px; }
  .focus-item { padding-top: 23px; }
  .focus-item h3 { font-size: 1.625rem; margin-bottom: 12px; }
  .work-section { padding-block: 0 64px; }
  .work-project { grid-template-columns: 1fr; gap: 28px; }
  .header-inner nav a[href="#about"] { display: none; }
  .about-heading .section-label { margin-bottom: 24px; }
  .about-section { padding-block: 65px; gap: 28px; }
  .about-content p { font-size: 1.25rem; }
  .contact-inner { padding-block: 60px; gap: 30px; }
  .contact-details > p { font-size: 1.125rem; }
  .contact-email { font-size: 1.8rem; }
  .footer-logo { width: 170px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 28px; gap: 16px; }
}
@media (max-width: 600px) {
  .header-inner nav a[href="#approach"] { display: none; }
  .header-inner nav { gap: 14px; }
  .header-inner nav a { font-size: 1rem; }
  .brand-logo { width: 160px; }
  .nav-contact { padding: 10px 16px; }
}
@media (max-width: 400px) {
  .brand-logo { width: 155px; }
  .header-inner { gap: 16px; }
  .nav-contact { padding: 10px 12px; }
  .header-inner nav a[href="#about"] { display: none; }
  h1 { font-size: 12vw; }
  .hero-description { font-size: 1.25rem; }
  .hero-art { width: 290px; max-width: 100%; }
  .contact-email { font-size: 1.65rem; }
  .footer-logo { width: 150px; }
}
@media (max-width: 360px) {
  .header-logo { width: 130px; }
  .header-inner { gap: 12px; }
  .header-inner nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .logo-tilt, .hero-art img, .logo-play.is-engaged img, .logo-play:focus-visible img { transform: none; }
}
