@import url("fonts.css");

:root {
  color-scheme: light;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 5vw, 5.75rem);
  --wrap: 100rem;
  --space: clamp(5.5rem, 10vw, 11rem);
  --paper: #f4f1ea;
  --ink: #221e1a;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
main, footer, section { scroll-margin-top: 1rem; }
figure, p, h1, h2, h3 { margin: 0; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 500 .75rem/1.42 var(--mono);
  letter-spacing: .135em;
  text-transform: uppercase;
}
.skip {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: #fff;
  color: #222;
  transform: translateY(-200%);
  z-index: 20;
}
.skip:focus { transform: none; }
.register {
  display: inline-block;
  width: .93rem;
  height: .93rem;
  flex: none;
  position: relative;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.register::before, .register::after { content: ""; position: absolute; background: currentColor; inset: 50% -26% auto; height: 1px; }
.register::after { transform: rotate(90deg); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 700 1.84rem/.9 var(--sans);
  letter-spacing: -.105em;
  white-space: nowrap;
}
.brand-light { font-weight: 400; }
.brand .register { margin: 0 .2rem 0 .15rem; }
.button {
  min-height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: .75rem 1.35rem;
  border: 1px solid currentColor;
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.site-head {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  width: min(100%, var(--wrap));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding-inline: var(--gutter);
}
.site-logo { flex: none; width: clamp(7.5rem, 11vw, 9.25rem); }
.site-logo img { height: auto; filter: brightness(0) invert(1); }
.site-head nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.25vw, 3.25rem); }
.site-head nav a { font-size: .9rem; font-weight: 600; }
.site-head nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.head-contact { padding: .65rem .95rem; border: 1px solid currentColor; }
.compare {
  position: fixed;
  inset: auto auto max(1.15rem, env(safe-area-inset-bottom)) 50%;
  translate: -50% 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .3rem;
  background: #f7f4ee;
  color: #251f1b;
  font: 600 .83rem/1 var(--sans);
  border: 1px solid #231d1833;
  border-radius: 3rem;
  box-shadow: 0 4px 24px #100d0c22;
  white-space: nowrap;
}
.compare a { min-height: 2.25rem; border-radius: 2rem; padding: .55rem .8rem; display: inline-flex; align-items: center; gap: .5rem; }
.compare .register { width: .69rem; height: .69rem; }
.compare a:hover { background: #e8e2d8; }
.compare a[aria-current] { background: #25211d; color: #fff; }
.compare .compare-all { margin-right: .15rem; }

.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: max(45rem, 94svh);
  grid-template-rows: 1fr auto;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-picture { position: absolute; inset: 0; z-index: -1; }
.hero-picture::after { content: ""; position: absolute; inset: 0; }
.hero-content { align-self: center; padding-block: 3rem; }
.hero-description { max-width: 27rem; font-size: clamp(1rem, 1.3vw, 1.19rem); line-height: 1.58; }
.hero-content .button { margin-top: 1.65rem; }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  gap: 1rem;
  font: 500 .72rem/1.3 var(--mono);
  letter-spacing: .11em;
}
.hero-foot > span { display: flex; align-items: center; gap: .55rem; }
.section-intro > p:last-child { margin-top: 1.5rem; max-width: 24rem; line-height: 1.65; }
.services-list { width: 100%; min-width: 0; }
.service { border-top: 1px solid var(--rule, #211c1940); }
.services-list .service:last-child { border-bottom: 1px solid var(--rule, #211c1940); }
.service summary { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.05rem; }
.service summary:hover { color: var(--service-hover, currentColor); }
.service summary > span:first-child { font-size: clamp(1rem, 1.54vw, 1.38rem); font-weight: 600; letter-spacing: -.035em; }
.service p { max-width: 33rem; padding-bottom: 1.1rem; line-height: 1.56; }
.service-plus { position: relative; width: 1.25rem; height: 1.25rem; flex: none; }
.service-plus::before, .service-plus::after { content: ""; position: absolute; inset: 50% 12% auto; height: 1px; background: currentColor; }
.service-plus::after { transform: rotate(90deg); }
.service[open] .service-plus::after { transform: none; }

.contact { --rule: #fff6; }
.contact-inner { width: min(100%, var(--wrap)); margin: auto; padding: clamp(4.5rem, 8vw, 8rem) var(--gutter) 5.9rem; }
.contact h2 { margin-top: 1.1rem; }
.contact-copy { margin-top: 1.35rem; max-width: 32rem; line-height: 1.55; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.65rem; align-items: center; margin-top: 1.7rem; }
.contact-phone { font-weight: 650; text-decoration: underline; text-underline-offset: .27em; white-space: nowrap; }
.footer-rule {
  border-top: 1px solid var(--rule);
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.6rem;
  align-items: center;
}
.footer-rule address { font-size: .83rem; line-height: 1.45; font-style: normal; }
.colophon { position: relative; }
.colophon summary { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; }
.colophon[open] summary { opacity: .65; }
.colophon p {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + .7rem);
  right: 0;
  width: min(16.5rem, 72vw);
  padding: 1rem;
  background: #f8f3e8;
  color: #282019;
  box-shadow: 0 5px 20px #09090435;
  font-size: .89rem;
  line-height: 1.48;
}

/* Prova */
.prova { --paper: #eeeae1; --ink: #211e1c; --red: #c62e24; --service-hover: #a92b22; }
.prova .site-head { color: #fff2e4; }
.press-hero { color: #fff4e7; background: #1a1514; }
.press-hero img { object-position: 66% 51%; }
.press-hero .hero-picture::after {
  background: linear-gradient(90deg, #1c1716f7 0%, #1c1716c7 28%, #1d1a181a 66%), linear-gradient(0deg, #100d0db0, transparent 25%, transparent 80%, #1b131488);
}
.prova h1, .prova h2, .prova h3 { font-weight: 700; line-height: 1; letter-spacing: -.075em; }
.prova h2 { font-size: clamp(3.5rem, 7vw, 7.65rem); }
.press-hero h1 { margin: 1.05rem 0 1.45rem; font-size: clamp(4.5rem, 9.4vw, 10rem); }
.press-hero h1 em { font-style: normal; color: #ff5947; }
.proof-label { display: flex; align-items: center; gap: .85rem; }
.proof-label .register { color: #ff705f; }
.press-hero .button { background: #f6e9d9; border-color: #f6e9d9; color: #241b19; }
.press-hero .button:hover { background: #fff6ed; border-color: #fff6ed; }
.ink-strip { display: flex; align-items: center; gap: .25rem; }
.ink-strip i { width: 1.05rem; height: .6rem; background: #30abc7; }
.ink-strip i:nth-child(2) { background: #dd449a; }
.ink-strip i:nth-child(3) { background: #eec54d; }
.ink-strip i:nth-child(4) { background: #1a1716; border: 1px solid #fff5; }
[data-reveal].will-reveal { opacity: 0; transform: translateY(1.35rem); }
[data-reveal].did-reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .73s cubic-bezier(.2,.72,.25,1); }
.press-section-head { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: end; gap: .8rem clamp(1.5rem,5vw,5.5rem); margin-bottom: clamp(1.5rem,4.1vw,3.9rem); }
.press-section-head .eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: .7rem; color: var(--press-overline,#94261c); }
.press-section-head h2 em { font-style: normal; color: var(--press-accent,#b32821); }
.press-section-head > p:last-child { max-width: 27rem; padding-bottom: .3rem; line-height: 1.6; }

.press-control { border: 1px solid currentColor; min-height: 2.68rem; display: inline-flex; align-items: center; padding: .42rem .74rem; background: transparent; color: inherit; font-size: .83rem; font-weight: 700; }
.press-control:hover,.press-control[aria-pressed=true] { background: var(--press-control-bg,#2d2421); border-color: var(--press-control-bg,#2d2421); color: var(--press-control-text,#fff0dd); }

.press-bench { --press-overline: #f1b39c; --press-accent: #ff7c62; --press-control-bg: #fff0df; --press-control-text: #2c211e; color: #fff2e4; background: #2a211f; padding-block: var(--space); }
.proof-figure { width: min(100%,67rem); margin-inline: auto; }
.proof-image { position: relative; aspect-ratio: 1.5; overflow: hidden; background: #bbab91; }
.proof-figure figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; padding: .75rem 0; border-bottom: 1px solid #f3ddc764; }
.proof-figure figcaption p { color: #eed1bc; }
.proof-targets { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.proof-position { padding-top: .55rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem 1.2rem; width: min(100%,34rem); font-size: .82rem; }
.proof-position label { display: grid; gap: .17rem; }
.proof-position input { accent-color: #f2856b; width: 100%; margin: 0; min-height: 1.5rem; }
.proof-corner { position: absolute; width: 1.1rem; height: 1.1rem; border: 1px solid #fff7e9; pointer-events: none; }
.proof-corner.top { top: .75rem; left: .75rem; border-bottom: 0; border-right: 0; }
.proof-corner.bottom { bottom: .75rem; right: .75rem; border-top: 0; border-left: 0; }
.loupe-view {
  display: none;
  position: absolute;
  left: var(--lens-x,55%);
  top: var(--lens-y,53%);
  width: clamp(7.5rem,16vw,11.5rem);
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: .43rem solid #211c18;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-block: 1.5rem 5.5rem;
  box-shadow: 0 .18rem 1.2rem #160e0e98,inset 0 0 0 1px #fff8;
  background-repeat: no-repeat;
  background-size: var(--sample-width, 0px) var(--sample-height, 0px);
  background-position: var(--sample-left, 0px) var(--sample-top, 0px);
  pointer-events: none;
}
.loupe-ink {
  display: block;
  position: absolute;
  left: var(--sample-left, 0px);
  top: var(--sample-top, 0px);
  width: var(--sample-width, 0px);
  height: var(--sample-height, 0px);
  mix-blend-mode: multiply;
  opacity: .86;
}
.proof-image.is-magnifying { cursor: crosshair; touch-action: pan-y; }
.is-magnifying .loupe-view { display: block; }

.press-about { padding-block: var(--space) 0; }
.press-about-sheet { --proof-rule: #9a35264f; position: relative; width: min(100%, 73rem); margin-inline: auto; padding: clamp(1.2rem, 5.5vw, 5.9rem); border: 1px solid var(--proof-rule); background: #faf5ea; box-shadow: .33rem .45rem 0 #e5ddce; }
.press-about-sheet::before, .press-about-sheet::after { content: ""; position: absolute; width: 1rem; height: 1rem; border: 1px solid #a62a22; pointer-events: none; }
.press-about-sheet::before { inset: .5rem auto auto .5rem; border-right: 0; border-bottom: 0; }
.press-about-sheet::after { inset: auto .5rem .5rem auto; border-left: 0; border-top: 0; }
.press-about-sheet h2 { max-width: 12ch; margin: .2em 0 .3em; }
.press-about-sheet > p:not(.eyebrow) { max-width: 37rem; line-height: 1.66; }
.press-about-imprint { color: #962c24; }
.press-about-imprint { display: flex; align-items: center; gap: .65rem; margin-top: clamp(1.6rem, 3.5vw, 3.6rem); padding-top: .75rem; border-top: 1px solid var(--proof-rule); }

.press-portfolio { padding-block: var(--space); }
.press-editions { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(.8rem,2vw,1.75rem); align-items: end; }
.press-edition:nth-child(1) { grid-column: span 3; }
.press-edition:nth-child(2) { grid-column: span 2; padding-bottom: 1rem; }
.press-edition:nth-child(3) { grid-column: 2 / span 3; margin-top: clamp(.4rem,3vw,2rem); }
.press-edition > div { position: relative; overflow: hidden; aspect-ratio: 1.52; background: #c7ad92; }
.press-edition img { transform: scale(1.015); transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.press-edition:hover img { transform: scale(1.065); }
.press-edition figcaption { display: flex; flex-wrap: wrap; gap: .4rem .8rem; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #211c1940; padding: .75rem 0; }
.press-edition h3 { font-size: clamp(1.55rem,3.6vw,3rem); letter-spacing: -.055em; }
.press-edition figcaption p { color: #594b42; line-height: 1.5; }

.press-references { padding-block: var(--space); background: #8f251d; color: #fff2e4; }
.press-references h2 { margin-top: .18em; }
.press-references h2 em { color: #ffd3b7; font-style: normal; }
.press-reference-list { margin: clamp(2rem, 4vw, 4.2rem) 0 1.25rem; border-top: 1px solid #ffe8d392; }
.press-reference-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem, .33fr); align-items: baseline; gap: .4rem 1.25rem; padding: .9rem 0; border-bottom: 1px solid #ffe8d392; }
.press-reference-list dt { font-size: clamp(1.1rem, 2.8vw, 2.4rem); font-weight: 700; line-height: 1.14; letter-spacing: -.05em; }
.press-reference-list dd { margin: 0; color: #ffe0cd; font-size: .9rem; }
.press-archive-link { display: inline-flex; gap: .65rem; border-bottom: 1px solid currentColor; padding-block: .45rem; font-weight: 700; }

.press-services { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(1.6rem,6vw,6rem); padding-block: var(--space); }
.press-services h2 { margin-top: .85rem; }
.prova .contact { background: #231e1d; color: #f9eee0; }
.prova .contact h2 em { color: #ff6757; font-style: normal; }
.prova .contact .button:hover { background: #f9eee0; color: #231e1d; }

@media (max-width: 900px) {
  .press-services { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
  .prova h2 { font-size: clamp(3rem,7vw,6.5rem); }
}

@media (max-width: 700px) {
  .site-head { min-height: 4.65rem; }
  .site-head nav { gap: .7rem; }
  .site-head nav a { font-size: .8rem; white-space: nowrap; }
  .site-head nav .story-link { display: none; }
  .brand { font-size: 1.65rem; }
  .head-contact { padding: .5rem .6rem; }
  .hero { padding-top: 4.75rem; min-height: max(40rem,89svh); }
  .hero-content { align-self: end; padding-block: 7rem 2.15rem; }
  .hero-foot { min-height: 3rem; }
  .press-hero .hero-picture::after { background: linear-gradient(0deg,#1c1716fb 0%,#1c1716ed 24%,#1c171659 66%,#1c1716a6); }
  .press-hero img { object-position: 67% 15%; }
  .press-section-head,.press-services { grid-template-columns: 1fr; }
  .press-editions { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .press-edition:nth-child(n) { grid-column: auto; margin: 0; padding: 0; }
  .proof-figure figcaption { align-items: start; }
}

@media (max-width: 470px) {
  .site-head { flex-wrap: wrap; row-gap: .65rem; padding-block: .75rem; }
  .site-head nav { width: 100%; justify-content: space-between; }
}

@media (max-width: 430px) {
  .compare { bottom: max(.65rem,env(safe-area-inset-bottom)); }
  .eyebrow { font-size: .7rem; }
  .press-hero h1 { font-size: clamp(3.8rem,13.6vw,5.5rem); }
  .footer-rule { grid-template-columns: 1fr auto; column-gap: .75rem; }
  .footer-rule address { grid-row: 2; }
  .footer-rule .colophon { grid-column: 2; grid-row: 1 / 3; }
}

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