/* Binova — light editorial agency page. Paper ground, one orange, Poppins; dark passages only where the brand's own light lives. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }

:root {
  --paper: #f6f6f4;
  --card: #e6e6e4;
  --card-2: #dedddb;
  --ink: #121212;
  --ink-2: #4a4a48;
  --ink-soft: #7d7d79; /* display-size only (4.0:1 on paper) */
  --orange: #ff5001;
  --orange-2: #e84900;
  --dark: #0f0f0f;
  --dark-2: #171717;
  --dark-ink: #f3f3f1;
  --dark-soft: rgba(243, 243, 241, 0.62);
  --dark-line: rgba(243, 243, 241, 0.12);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-display: clamp(2.5rem, 6.1vw, 5.5rem);
  --t-h2: clamp(2rem, 4vw, 3.5rem);
  --t-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --t-lead: clamp(1.0625rem, 1.25vw, 1.1875rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  --r-card: 24px;
  --r-pill: 999px;
  --container: 1280px;
  --gutter: clamp(20px, 3.5vw, 48px);
  --space: clamp(96px, 10vw, 160px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-ui: 320ms;
  --t-rise: 1000ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
/* scrollbar in the page's own material: paper track, graphite thumb, orange when held */
html { scrollbar-width: thin; scrollbar-color: var(--ink-2) var(--paper); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-2); border-radius: 999px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }
::-webkit-scrollbar-thumb:active { background: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: var(--r-pill); font-weight: 500; }
.skip:focus { top: 16px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* controls: pills, decided once */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 500; font-size: var(--t-small); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform var(--t-fast) var(--ease), background-color var(--t-ui) ease, color var(--t-ui) ease, border-color var(--t-ui) ease; }
.pill:active { transform: scale(0.97); }
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--orange { background: var(--orange); color: #fff; }
.pill--orange .ico { stroke: #fff; }
.pill--paper { background: var(--paper); color: var(--ink); }
.pill--line { background: transparent; color: var(--ink); border-color: rgba(18, 18, 18, 0.22); }
.pill--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .pill--ink:hover { background: var(--orange); color: #fff; }
  .pill--orange:hover { background: var(--orange-2); }
  .pill--paper:hover { background: #fff; }
  .pill--line:hover { border-color: var(--ink); }
}
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: var(--r-pill); border: 1px solid rgba(18, 18, 18, 0.28); font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.01em; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(18,18,18,0.3); text-underline-offset: 0.22em; transition: text-decoration-color var(--t-ui) ease, color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 246, 244, 0.9); backdrop-filter: blur(10px); }
.nav__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__brand img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 4px; justify-self: center; }
.nav__links a { padding: 8px 14px; border-radius: var(--r-pill); font-size: var(--t-small); font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color var(--t-ui) ease, background-color var(--t-ui) ease; }
.nav__links a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); background: rgba(18,18,18,0.06); } }
.nav__cta { justify-self: end; }
@media (max-width: 900px) { .nav__inner { grid-template-columns: 1fr auto; } .nav__links { display: none; } }

/* hero: the sentence, centered, in two inks */
.hero { padding-top: clamp(32px, 4vw, 48px); text-align: center; }
.hero h1 { font-size: var(--t-display); font-weight: 500; letter-spacing: -0.04em; line-height: 0.98; margin-inline: auto; max-width: 15ch; }
.hero h1 .soft { color: var(--ink-soft); }
.hero__notes { display: grid; grid-template-columns: 1fr minmax(0, 15ch) 1fr; gap: 32px; align-items: end; margin-top: -0.4em; }
.hero__notes p { font-size: var(--t-micro); line-height: 1.5; color: var(--ink-2); max-width: 28ch; text-align: left; }
.hero__notes p:last-child { justify-self: end; }
.hero__notes .spacer { height: 2.2em; }
.hero__actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
@media (max-width: 900px) {
  .hero h1 { max-width: 14ch; }
  .hero__notes { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .hero__notes .spacer { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); max-width: 12ch; }
  .hero__notes { grid-template-columns: 1fr; gap: 12px; }
  .hero__notes p:last-child { justify-self: start; }
  .hero__actions { flex-direction: column; }
}

/* services row */
.services { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.svc { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 16px 18px 20px; background: var(--card); border-radius: var(--r-card); text-decoration: none; color: var(--ink); text-align: left; overflow: hidden; transition: transform var(--t-ui) var(--ease), background-color var(--t-ui) ease; }
.svc h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.02em; }
.svc .tag { align-self: flex-start; }
.svc--orange { color: #fff; background: var(--orange); transform: translateY(-14px); }
.svc--orange .tag { border-color: rgba(255,255,255,0.6); color: #fff; }
.svc--orange .svc__foot p { color: rgba(255,255,255,0.85); }
.svc--orange .pill--paper { background: #fff; color: var(--ink); margin-top: 4px; }
.svc--art { color: #fff; background: var(--orange); transform: translateY(-14px); }
.svc--art .svc__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.svc--art > * { position: relative; }
.svc--art .tag { border-color: rgba(255,255,255,0.6); color: #fff; }
.svc--art .pill--paper { background: #fff; color: var(--ink); }
.svc--dark { color: var(--dark-ink); background: var(--dark); transform: translateY(-14px); }
.svc__foot { display: grid; gap: 8px; justify-items: start; }
.svc__foot p { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.svc--dark .svc__foot, .svc--orange .svc__foot { gap: 10px; }
.svc--dark .pill { min-height: 32px; padding: 0 14px; font-size: 12.5px; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { transform: translateY(-6px); background: var(--card-2); }
  .svc--dark:hover, .svc--art:hover, .svc--orange:hover { transform: translateY(-20px); }
}
@media (max-width: 1100px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc--dark, .svc--art, .svc--orange { transform: none; } }
@media (max-width: 560px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .svc { min-height: 160px; padding: 14px 14px 16px; } .svc--dark { min-height: 190px; } .svc h3 { font-size: 1.0625rem; } .svc__foot p { font-size: 12.5px; } }

/* dark band: the brand's own light */
.band { position: relative; margin-top: var(--space); height: 480px; background: #000; color: var(--dark-ink); overflow: hidden; display: flex; align-items: flex-end; }
/* the client's light-streak image is 612×396: shown at 1.2x (742×480), proportions kept, on the left; the rest of the band is the image's own black */
.band__img { position: absolute; left: 0; top: 0; width: 742px; height: 480px; max-width: none; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 70%); pointer-events: none; }
@media (max-width: 760px) { .band { height: auto; min-height: 420px; } .band__img { left: 50%; transform: translateX(-50%); width: 650px; height: 420px; } }
.band__text { position: relative; z-index: 1; padding: 48px var(--gutter); width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.band__text h2 { font-size: var(--t-h2); font-weight: 500; color: #fff; max-width: 12ch; }
.band__text p { margin-top: 12px; font-size: var(--t-micro); color: var(--dark-soft); max-width: 32ch; }
.band__mark { position: absolute; z-index: 1; top: 32px; left: var(--gutter); width: 26px; height: auto; }

/* dark statement + work strip */
.studio { background: var(--dark); color: var(--dark-ink); padding: clamp(80px, 9vw, 140px) 0 0; }
.studio__label { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: var(--t-micro); font-weight: 500; }
.studio__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.studio__statement { margin-top: 20px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; max-width: 30ch; color: #fff; }
.studio__statement .soft { color: var(--dark-soft); }
.studio__statement .pillimg { display: inline-block; vertical-align: middle; width: 2.4em; height: 0.85em; border-radius: var(--r-pill); object-fit: cover; margin: 0 0.1em; transform: translateY(-0.06em); }
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-bottom: clamp(72px, 9vw, 130px); }
.studio__text { margin-top: 28px; color: var(--dark-soft); max-width: 44ch; }
.studio .strip { padding-bottom: clamp(64px, 8vw, 120px); }
.studio__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: var(--t-small); color: var(--dark-soft); padding-bottom: 8px; }
.studio__facts strong { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }
.strip { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.strip a { display: block; border-radius: 22px; overflow: hidden; background: var(--dark-2); aspect-ratio: 4 / 5; transition: transform var(--t-ui) var(--ease); }
.strip a img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1200ms var(--ease); }
.strip a:nth-child(3) { aspect-ratio: 3 / 4; transform: translateY(0); }
.strip a:nth-child(1), .strip a:nth-child(5) { aspect-ratio: 1; }
@media (hover: hover) and (pointer: fine) { .strip a:hover { transform: translateY(-8px); } .strip a:hover img { transform: scale(1.05); } }
@media (max-width: 900px) { .studio__grid { grid-template-columns: 1fr; } .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .strip a:nth-child(4), .strip a:nth-child(5) { display: none; } }
@media (max-width: 560px) { .studio__facts { grid-template-columns: 1fr; gap: 10px; } }

/* sections on paper */
.section { padding-top: var(--space); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head h2 { font-size: var(--t-h2); max-width: 14ch; }
.section__head p { font-size: var(--t-lead); color: var(--ink-2); max-width: 40ch; justify-self: end; }
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; } .section__head p { justify-self: start; } }

/* portfolio entry cards */
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 460px; padding: 26px; border-radius: 28px; background: var(--card); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform var(--t-ui) var(--ease); }
.entry--dark { background: var(--dark); color: var(--dark-ink); }
.entry__head { display: flex; justify-content: space-between; align-items: center; }
.entry__head .tag { background: transparent; }
.entry--dark .tag { border-color: rgba(243,243,241,0.4); color: var(--dark-ink); }
.entry__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: background-color var(--t-ui) ease, transform var(--t-ui) var(--ease); }
.entry--dark .entry__arrow { background: var(--paper); color: var(--ink); }
.entry__visual { position: relative; margin: 24px -8px 20px; height: 250px; overflow: hidden; border-radius: 18px; }
.entry__visual img { position: absolute; border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18); transition: transform 900ms var(--ease); }
.entry__visual--fan img { width: 38%; top: 10%; }
.entry__visual--fan img:nth-child(1) { left: 6%; transform: rotate(-7deg) translateY(10px); z-index: 1; }
.entry__visual--fan img:nth-child(2) { left: 31%; top: 4%; z-index: 2; }
.entry__visual--fan img:nth-child(3) { right: 6%; transform: rotate(7deg) translateY(10px); z-index: 1; }
.entry__visual--full { margin: 24px -26px 0; height: 340px; border-radius: 0; }
.entry__visual--full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; box-shadow: none; }
.entry__title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 500; }
.entry__desc { margin-top: 10px; font-size: var(--t-small); color: var(--ink-2); max-width: 42ch; }
.entry--dark .entry__desc { color: var(--dark-soft); }
@media (hover: hover) and (pointer: fine) {
  .entry:hover { transform: translateY(-6px); }
  .entry:hover .entry__arrow { background: var(--orange); color: var(--ink); transform: rotate(-45deg); }
  .entry--design:hover .entry__visual--fan img:nth-child(1) { transform: rotate(-10deg) translateY(-6px); }
  .entry--design:hover .entry__visual--fan img:nth-child(2) { transform: translateY(-14px); }
  .entry--design:hover .entry__visual--fan img:nth-child(3) { transform: rotate(10deg) translateY(-6px); }
  .entry--sites:hover .entry__visual--full img { transform: scale(1.04); }
}
@media (max-width: 760px) { .entries { grid-template-columns: 1fr; } .entry { min-height: 400px; } }

/* software sob medida */
.software { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 48px); background: var(--card); border-radius: 28px; align-items: center; }
.software__copy h2 { font-size: var(--t-h2); max-width: 16ch; }
.software__copy > p { margin-top: 18px; color: var(--ink-2); font-size: var(--t-lead); max-width: 44ch; }
.software__copy .software__note { font-size: var(--t-small); color: var(--ink-2); }
.software__copy .pill { margin-top: 30px; }
.software__list { display: grid; grid-auto-rows: 1fr; gap: 10px; align-self: stretch; }
.software__list li { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 24px; background: var(--paper); border-radius: 18px; transition: transform var(--t-ui) var(--ease); }
.software__list strong { font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.software__list span { font-size: var(--t-small); color: var(--ink-2); max-width: 48ch; }
@media (hover: hover) and (pointer: fine) { .software__list li:hover { transform: translateX(6px); } }
@media (max-width: 900px) { .software { grid-template-columns: 1fr; } .software__list { grid-auto-rows: auto; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps li { display: flex; flex-direction: column; padding: 20px 22px 26px; background: var(--card); border-radius: var(--r-card); min-height: 280px; transition: transform var(--t-ui) var(--ease), background-color var(--t-ui) ease; }
.steps__top { display: flex; align-items: center; justify-content: space-between; }
.steps__top .ico { width: 20px; height: 20px; color: var(--orange); stroke-width: 2; }
.steps__n { margin-top: 30px; font-size: 3.75rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: auto; padding-top: 32px; font-size: 1.1875rem; font-weight: 500; }
.steps p { margin-top: 8px; font-size: var(--t-small); color: var(--ink-2); }
.steps li:last-child { background: var(--dark); color: var(--paper); }
.steps li:last-child .tag { color: rgba(255, 255, 255, 0.78); border-color: rgba(255, 255, 255, 0.3); }
.steps li:last-child .steps__n { color: var(--orange); }
.steps li:last-child p { color: rgba(255, 255, 255, 0.72); }
@media (hover: hover) and (pointer: fine) {
  .steps li:hover { transform: translateY(-4px); }
  .steps li:hover .steps__n { color: var(--ink); }
  .steps li:last-child:hover .steps__n { color: var(--orange); }
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } .steps__n { margin-top: 18px; font-size: 3rem; } .steps h3 { padding-top: 18px; } }

/* faq */
.faq__list { display: grid; gap: 8px; }
details { background: var(--card); border-radius: 18px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary h3 { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
details[open] summary .ico { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 64ch; }
.js .faq__body { will-change: height; }
details { transition: background-color var(--t-ui) ease; }
details[open] { background: var(--card-2); }
summary .ico { width: 1.6em; height: 1.6em; padding: 0.25em; border-radius: 50%; background: rgba(18, 18, 18, 0.06); transition: transform 420ms var(--ease), background-color var(--t-ui) ease, color var(--t-ui) ease; }
details[open] summary .ico { background: var(--orange); color: #fff; }
details .faq__body { overflow: hidden; }
@media (hover: hover) and (pointer: fine) { summary:hover .ico { background: var(--orange); color: #fff; } }

/* order: the close, on the brand's dark */
.order-wrap { padding-top: var(--space); }
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); background: var(--dark); color: var(--dark-ink); border-radius: 32px; }
.order h2 { font-size: var(--t-h2); color: #fff; }
.order__copy > p { margin-top: 16px; color: var(--dark-soft); font-size: var(--t-lead); }
.order__alt { font-size: var(--t-small) !important; }
.order .link { color: var(--dark-ink); text-decoration-color: rgba(243,243,241,0.4); }
.order > * { min-width: 0; }
.order__form { display: grid; gap: 18px; }
.chips { margin: 0; padding: 0; border: 0; min-inline-size: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 10px; font-size: var(--t-small); color: var(--dark-soft); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--dark-line); font-weight: 500; font-size: var(--t-small); color: var(--dark-ink); transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { border-color: var(--dark-ink); } }
.field { display: grid; gap: 8px; }
.field span { font-size: var(--t-small); color: var(--dark-soft); }
.field input { width: 100%; min-width: 0; min-height: 50px; padding: 0 16px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; color: var(--dark-ink); transition: border-color var(--t-ui) ease; }
.field input::placeholder { color: var(--dark-soft); }
.field input:focus { outline: none; border-color: var(--orange); }
.order__send { justify-self: start; }
.order__preview { font-size: var(--t-micro); color: var(--dark-soft); }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } .order__send { justify-self: stretch; } }
/* Narrow phones: a nowrap pill can be wider than the column, so let its label wrap. */
@media (max-width: 400px) { .pill { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; } }

/* footer */
.footer { margin-top: var(--space); padding: 56px 0 28px; border-top: 1px solid rgba(18,18,18,0.1); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { margin-top: 16px; color: var(--ink-2); max-width: 36ch; font-size: var(--t-small); }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h3 { font-size: var(--t-micro); color: var(--ink-2); font-weight: 500; margin-bottom: 4px; }
.footer__col a, .footer__col span { font-size: var(--t-small); text-decoration: none; color: var(--ink); }
.footer__col a { transition: color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.2em; } }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(18,18,18,0.1); font-size: var(--t-micro); color: var(--ink-2); }
.footer__legal a { color: inherit; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* portfolio page */
.page-head { padding-top: clamp(48px, 6vw, 88px); }
.page-head h1 { font-size: var(--t-display); font-weight: 500; letter-spacing: -0.04em; line-height: 0.98; max-width: 12ch; }
.page-head h1 .soft { color: var(--ink-soft); }
.page-head p { margin-top: 24px; font-size: var(--t-lead); color: var(--ink-2); max-width: 48ch; }
.page-head .entries { margin-top: clamp(40px, 5vw, 64px); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.gallery figure { border-radius: 22px; overflow: hidden; background: var(--card); }
.gallery figure img { width: 100%; height: auto; object-fit: cover; }
.gallery figcaption { padding: 14px 18px 16px; font-size: var(--t-small); color: var(--ink-2); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.g-8 { grid-column: span 8; } .g-6 { grid-column: span 6; } .g-4 { grid-column: span 4; } .g-12 { grid-column: span 12; }
.gallery .tall img { aspect-ratio: 4 / 5; }
.gallery .wide img { aspect-ratio: 16 / 9; }
.gallery .square img { aspect-ratio: 1; }
@media (max-width: 900px) { .g-8, .g-6, .g-4 { grid-column: span 6; } }
@media (max-width: 560px) { .g-8, .g-6, .g-4 { grid-column: span 12; } }
.carousel { padding: clamp(20px, 3vw, 32px); background: var(--card); border-radius: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.carousel__head h3 { margin-top: 14px; font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 500; }
.carousel__head p { margin-top: 12px; color: var(--ink-2); max-width: 36ch; }
.carousel + .carousel { margin-top: 16px; }
.carousel__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.carousel__track figure { border-radius: 16px; overflow: hidden; background: var(--paper); isolation: isolate; }
.carousel__track img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; border: 0; outline: 0; transition: transform 900ms var(--ease); }
.carousel__track figcaption { padding: 10px 14px 12px; font-size: var(--t-micro); color: var(--ink-2); background: var(--paper); }
@media (hover: hover) and (pointer: fine) { .carousel__track figure:hover img { transform: scale(1.03); } }
@media (max-width: 900px) { .carousel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .carousel__track { grid-template-columns: 1fr; } }
.site-card { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 16px; background: var(--card); border-radius: 28px; }
.site-card + .site-card { margin-top: 16px; }
.site-card__shot { border-radius: 18px; overflow: hidden; background: var(--dark); aspect-ratio: 16 / 11; }
.site-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 6s linear; }
@media (hover: hover) and (pointer: fine) { .site-card:hover .site-card__shot img { object-position: bottom; } }
.site-card__body { padding: 8px 12px 8px 0; }
.site-card__body h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; }
.site-card__body p { margin-top: 12px; color: var(--ink-2); }
.site-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.site-card__body .pill { margin-top: 22px; }
@media (max-width: 900px) { .site-card { grid-template-columns: 1fr; } }

/* floating WhatsApp: the one green on the page, WhatsApp's own */
.floats { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 30; display: grid; gap: 10px; }
.wa-float, .ig-float { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.16); transition: transform var(--t-ui) var(--ease), box-shadow var(--t-ui) ease; }
.wa-float { background: #25d366; }
.ig-float { background: var(--ink); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.ig-float svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover, .ig-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26), 0 2px 6px rgba(0, 0, 0, 0.16); }
  .ig-float:hover { background: var(--orange); color: var(--ink); }
}
.wa-float:active, .ig-float:active { transform: scale(0.95); }
@media (max-width: 560px) { .wa-float, .ig-float { width: 52px; height: 52px; } }

/* consent bar (only when Google Analytics is configured) */
.consent { position: fixed; left: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 31; max-width: 420px; padding: 18px 20px; background: var(--dark); color: var(--dark-ink); border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); display: grid; gap: 14px; }
.consent p { font-size: var(--t-small); color: var(--dark-soft); }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent .pill--line { color: var(--dark-ink); border-color: var(--dark-line); }
.consent .pill--ink { background: var(--paper); color: var(--ink); }
@media (max-width: 560px) { .consent { right: 84px; } }

/* motion: hero rise, once; from a visible default without JS */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity var(--t-rise) var(--ease), transform var(--t-rise) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .js .svc--dark[data-rise].is-in, .js .svc--art[data-rise].is-in, .js .svc--orange[data-rise].is-in { transform: translateY(-14px); }
  @media (max-width: 1100px) { .js .svc--dark[data-rise].is-in, .js .svc--art[data-rise].is-in, .js .svc--orange[data-rise].is-in { transform: none; } }
  @keyframes drift { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.04) translateX(1.5%); } }
}
