/* Cewal Proof - layout, type scale and motion after the So Concrete reference;
   palette: steel greys with a signal orange accent. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b0c0d;
  --white: #fff;
  --steel-light: #e9ebec;
  --steel: #aeb6bd;
  --graphite: #1c1f22;
  --orange: #ff5a1f;
  --grey: #43484d;
  --line: rgba(11, 12, 13, .9);
  --font: "Inter Tight", Arial, Helvetica, sans-serif;
  --gut: max(24px, 3vw);
  --wrap: min(1300px, calc(100% - 2 * var(--gut)));
  --ease: cubic-bezier(.215, .61, .355, 1);
  --h1: clamp(38px, 4.72vw, 68px);
  --h2: clamp(30px, 4.03vw, 58px);
  --lead: clamp(20px, 2.08vw, 30px);
  --body: clamp(17px, 1.53vw, 22px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 320 var(--body)/1.4 var(--font);
  letter-spacing: .008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 30px; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }

.t-h1 { font-size: var(--h1); line-height: 1.15; font-weight: 560; letter-spacing: 0; }
.t-h2 { font-size: var(--h2); line-height: 1.15; font-weight: 560; letter-spacing: 0; text-wrap: pretty; }
.t-lead { font-size: var(--lead); line-height: 1.25; font-weight: 320; letter-spacing: .01em; }
.t-h3 { font-size: clamp(19px, 1.53vw, 22px); line-height: 1.4; font-weight: 700; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 35px; padding: 1.7px 20.4px;
  border: 1px solid var(--ink); border-radius: 30px;
  background: var(--white); color: var(--ink);
  font-size: 17px; line-height: 1.74; font-weight: 300; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: color .3s, background-color .3s, border-color .3s;
}
.pill:hover { background: var(--ink); color: var(--white); }
.pill--dark { background: var(--ink); color: var(--white); }
.pill--dark:hover { background: transparent; color: var(--ink); }
.pill--accent { background: var(--ink); color: var(--orange); }
.pill--accent:hover { background: transparent; color: var(--ink); }
.pill--clear { background: transparent; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.round {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--white); color: var(--ink);
  transition: color .3s, background-color .3s, border-color .3s, transform .3s; cursor: pointer;
}
.round svg { width: 26px; height: 26px; }
.round:hover { background: var(--ink); color: var(--white); }
.round--accent { width: 60px; height: 60px; border-color: var(--orange); background: var(--orange); color: var(--ink); }
.round--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--orange); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 130; height: var(--header-h);
  background: rgba(255, 255, 255, 0); transition: background-color .3s ease, box-shadow .3s ease;
}
.header__in { width: var(--wrap); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: grid; width: 194px; padding-block: 8px; }
.logo img { grid-area: 1 / 1; width: 100%; height: auto; transition: opacity .3s ease; }
.logo__ink { opacity: 0; }
.header.is-solid, body.legal .header { background: var(--white); }
.header.is-solid .logo__ink, body.legal .logo__ink, .menu-open .logo__ink { opacity: 1; }
.header.is-solid .logo__light, body.legal .logo__light, .menu-open .logo__light { opacity: 0; }
.burger {
  position: relative; width: 44px; height: 44px; margin-right: -4px; padding: 0; border: 0; background: none;
  color: var(--white); cursor: pointer; transition: color .3s ease;
}
.header.is-solid .burger, body.legal .burger, .menu-open .burger { color: var(--ink); }
.burger span { position: absolute; left: 4px; width: 36px; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .3s ease, top .3s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg) scaleX(.9); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21.5px; transform: rotate(-45deg) scaleX(.9); }
html:not(.js) .burger { display: none; }
.menu-open .header { background: transparent; }

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 120; background: var(--steel);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
  padding: var(--header-h) var(--gut) 40px;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .3s ease; }
html:not(.js) .menu { display: none; }
.menu__list { text-align: center; }
.menu__list a {
  display: inline-block; position: relative; font-size: clamp(30px, 2.64vw, 38px); line-height: 1.3; font-weight: 560;
  text-decoration: none; padding: 0 2px;
}
.menu__list a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.menu__list a:hover::after, .menu__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu__pills { position: absolute; bottom: 36px; left: 0; right: 0; justify-content: center; padding: 0 var(--gut); }
.menu__pills .pill { background: transparent; }
.menu__pills .pill:hover { background: var(--ink); }
.menu-open, .form-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--white); overflow: hidden; background: var(--graphite); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 13, .38) 0, rgba(11, 12, 13, 0) 22%, rgba(11, 12, 13, 0) 48%, rgba(11, 12, 13, .62) 100%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; height: 100%; width: var(--wrap); margin-inline: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 50px; }
.hero h1 { max-width: 780px; }
.hero h1 span { display: block; }
.hero .round { flex: none; margin-bottom: 8px; }

/* ---------- sections ---------- */
.sec { padding-block: 64px; }
.bg-orange { background: var(--orange); }
.bg-light { background: var(--steel-light); }
.bg-steel { background: var(--steel); }
.intro { min-height: 725px; }
.intro__text { max-width: 636px; }
.intro .pill { margin-top: 32px; }

.types { padding-block: 25px 40px; }
.types__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: end; padding-block: 40px 44px; border-bottom: 1px solid var(--ink); }
.type { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-size: 17px; font-weight: 500; line-height: 1.3; }
.type svg { width: 84px; height: 56px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: square; }
.types__cap { text-align: right; padding-top: 20px; font-size: 17px; }

.split__in { display: grid; grid-template-columns: 581fr 635fr; column-gap: 6.46%; align-items: center; }
.split__text h2 { max-width: 581px; }
.split__text .t-lead { margin-top: 28px; max-width: 581px; }
.split__text .pill { margin-top: 38px; }
.media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--steel-light); }
.media img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] img { transform: scale(1.12); }

.mag__in { display: grid; grid-template-columns: 865fr 399fr; column-gap: 2.8%; align-items: start; }
.mag .media { aspect-ratio: 865 / 560; }
.mag__text { padding-top: 60px; }
.mag__text .t-lead { margin-top: 28px; }
.mag__text .pill { margin-top: 32px; }

.steps { padding-block: 100px 64px; }
.steps__head { max-width: 768px; }
.steps__head .t-lead { margin-top: 28px; max-width: 636px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; margin-top: 80px; }
.card { border-bottom: 1px solid var(--ink); padding-bottom: 32px; }
.card .media { position: relative; }
.card__tag {
  position: absolute; left: 14px; bottom: 14px; background: var(--steel); color: var(--ink);
  border-radius: 30px; padding: 2px 16px; font-size: 15px; line-height: 1.6;
}
.card h3 { margin-top: 18px; }
.card p { margin-top: 18px; color: var(--ink); }
.steps__more { display: flex; justify-content: flex-end; margin-top: 40px; }

.cta { padding-block: 200px 110px; }
.cta__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta h2 { max-width: 760px; }
.cta .pills { margin-top: 40px; }

.wide { position: relative; height: min(56.25vw, 810px); min-height: 320px; overflow: hidden; }
.wide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.footer { background: var(--steel); padding-block: 120px 28px; }
.footer__big { font-size: clamp(54px, 8vw, 116px); line-height: 1; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-top: 80px; font-size: 15px; line-height: 1.55; font-weight: 400; }
.footer__grid dt { color: #2c3034; font-weight: 400; }
.footer__grid dd { margin: 2px 0 0; }
.footer__grid a, .footer__nav a, .footer__legal a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-block: 4px; }
.footer__grid a:hover, .footer__nav a:hover, .footer__legal a:hover { background-size: 100% 1px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 48px; font-size: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: 14px; font-weight: 400; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- request form ---------- */
.request { background: var(--steel-light); padding-block: 100px; }
.request__in { display: grid; grid-template-columns: 4fr 7fr; column-gap: 6%; }
.request__side .t-lead { margin-top: 24px; }
.request__side .pills { margin-top: 32px; }
.request__close { display: none; }
html.js .request {
  position: fixed; inset: 0; z-index: 150; overflow-y: auto; overscroll-behavior: contain; padding-block: 0 60px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
html.js .request.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
html.js .request__bar { position: sticky; top: 0; z-index: 2; height: var(--header-h); background: var(--steel-light); }
html.js .request__bar .header__in { justify-content: space-between; }
html.js .request__close { display: grid; }
html:not(.js) .request__bar { display: none; }
.request__close { place-items: center; width: 44px; height: 44px; margin-right: -4px; border: 0; background: none; cursor: pointer; padding: 0; }
.request__close svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.5; }
html.js .request .request__in { padding-top: 40px; }
.form { display: grid; gap: 34px; }
.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 14px; font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 4px 18px; border: 1px solid var(--ink); border-radius: 30px;
  font-size: 17px; background: transparent; transition: background-color .3s, color .3s;
}
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.chip:hover span { background: var(--white); }
.chip:hover input:checked + span { background: var(--ink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: grid; gap: 4px; grid-column: 1 / -1; }
.field.half { grid-column: auto; }
.field > span { font-size: 15px; color: var(--grey); font-weight: 400; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
  padding: 8px 0; font-size: 19px; font-weight: 400;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); box-shadow: 0 1px 0 var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__send .pill { min-height: 44px; padding-inline: 28px; }
.form__note { font-size: 15px; color: var(--grey); font-weight: 400; }
.form__status { font-size: 17px; min-height: 1.4em; font-weight: 400; }
.form__status.is-error { color: #a32a12; }
.form__status a { font-weight: 500; }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; background: var(--white);
  border-top: 1px solid rgba(11, 12, 13, .15); box-shadow: 0 -6px 24px rgba(11, 12, 13, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 12px var(--gut);
  font-size: 14px; line-height: 1.45; font-weight: 400;
}
.cookie[hidden] { display: none; }
.cookie .pill { font-size: 14px; min-height: 32px; padding-inline: 22px; flex: none; }
.menu-open .cookie, .form-open .cookie { display: none; }

/* ---------- legal pages ---------- */
.page { padding: calc(var(--header-h) + 80px) 0 110px; }
.prose { width: var(--wrap); margin-inline: auto; }
.prose > * { max-width: 760px; }
.prose h1 { margin-bottom: 16px; }
.prose .updated { color: var(--grey); font-size: 16px; font-weight: 400; margin-bottom: 48px; }
.prose h2 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.3; font-weight: 500; margin: 44px 0 12px; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; font-weight: 300; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.prose li + li { margin-top: 8px; }
.prose a { text-underline-offset: 3px; padding-block: 3px; }
.prose dl { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.prose dl div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ink); font-size: 18px; }
.prose dt { color: var(--grey); font-weight: 400; }
.prose .dl-line { padding: 14px 0; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 400; }
.prose dd { font-weight: 400; }
.prose code { font-size: .9em; background: var(--steel-light); padding: 1px 6px; border-radius: 4px; }
.nf { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; width: var(--wrap); margin-inline: auto; padding-top: var(--header-h); }
.nf p { max-width: 640px; }

/* ---------- reveal (only with JS and motion allowed) ---------- */
html.js:not(.rm) .rv { opacity: 0; transform: translate3d(0, 70px, 0); transition: transform .9s var(--ease), opacity .9s .1s var(--ease); }
html.js:not(.rm) .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .types__row { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .request__in { grid-template-columns: 1fr; row-gap: 48px; }
}
@media (max-width: 719px) {
  :root { --header-h: 60px; }
  body { font-size: 18px; }
  .logo { width: 150px; }
  .pill { min-height: 44px; padding-inline: 22px; }
  .hero { height: 600px; min-height: 0; }
  .hero__in { padding-bottom: 32px; }
  .hero .round { display: none; }
  .sec { padding-block: 48px; }
  .intro { min-height: 0; padding-block: 56px 64px; }
  .types__row { grid-template-columns: 1fr 1fr; gap: 32px 16px; padding-top: 24px; }
  .type svg { width: 72px; height: 48px; }
  .split__in, .mag__in { grid-template-columns: 1fr; row-gap: 32px; }
  .split__text .t-lead, .mag__text .t-lead { margin-top: 20px; }
  .split__text .pill, .mag__text .pill { margin-top: 26px; }
  .mag__text { padding-top: 0; }
  .steps { padding-block: 72px 48px; }
  .cards { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .cards .card:last-child { grid-column: auto; }
  .cta { padding-block: 100px 72px; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .footer { padding-block: 64px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 18px; margin-top: 48px; }
  .footer__nav { gap: 2px 22px; }
  .footer__nav a, .footer__legal a { display: inline-block; padding-block: 13px; }
  .footer__grid a { display: inline-block; padding-block: 12px; }
  .footer__grid dd { line-height: 1.4; }
  .prose dd a { display: inline-block; padding-block: 10px; }
  .fields { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .request { padding-block: 64px; }
  .cookie { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 12px; }
  .cookie .pill { min-height: 40px; }
  .prose dl div { grid-template-columns: 1fr; gap: 2px; }
  .page { padding-top: calc(var(--header-h) + 48px); }
  .menu__pills { flex-direction: column; align-items: center; bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-parallax] img { transform: none; }
}
