/* Visivo · Sheep. Orange, charcoal and the work itself. */
:root {
  --orange: #FC7F10;
  --orange-deep: #FC7207;
  --paper: #EEEBE5;
  --paper-2: #E2DED6;
  --mute-light: #62615d;
  --mute-dark: #b9b5b0;
  --radius: 14px;
  --radius-sm: 10px;
  --border-dark: rgb(255 255 255 / 13%);
  --border-dark-strong: rgb(255 255 255 / 20%);
  --border-light: rgb(14 14 14 / 12%);
  --border-light-strong: rgb(14 14 14 / 18%);
  --pad: clamp(20px, 4vw, 64px);
  --t-title: clamp(2.25rem, 5.5vw, 5.5rem);
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav { background: transparent; padding-block: 18px; }
.nav.is-scrolled { background: transparent; }
.nav__logo img { height: 42px; }
.nav__links { gap: clamp(18px, 2.3vw, 36px); }
.nav__links a { opacity: 1; }
.nav__actions > .pill { background: var(--orange); color: var(--black); border-color: rgb(255 255 255 / 22%); }
.pill { border-radius: 10px; min-height: 48px; border: 1px solid rgb(255 255 255 / 16%); }
.pill--light { border-color: rgb(14 14 14 / 16%); }
.pill--dark { border-color: rgb(14 14 14 / 22%); }
.pill--orange { border-color: rgb(252 127 16 / 65%); }
.pill--big { min-height: 56px; border-radius: 12px; }
.title { max-width: 17ch; letter-spacing: -.055em; font-weight: 600; line-height: 1.02; text-wrap: balance; }
.hero--sheep { height: min(940px, 100svh); min-height: 700px; background: var(--black); }
.hero--sheep .hero__media { inset: 75px 0 0; padding: 0; display: block; }
.hero--sheep .hero__media img { width: 100%; height: 100%; max-width: 100%; margin: 0; object-fit: cover; object-position: center 28%; mask-image: none; -webkit-mask-image: none; }
.hero--sheep .hero__content { top: 50%; bottom: auto; right: auto; width: 49%; transform: translateY(-43%); }
.hero--sheep .hero__word { font-size: clamp(3.75rem, 6.6vw, 7rem); font-weight: 600; letter-spacing: -.06em; line-height: .98; margin: 0; }
.hero--sheep .reveal-line { overflow: hidden; padding-bottom: .09em; margin-bottom: -.06em; }
.hero--sheep .reveal-line:nth-child(2) > span { animation-delay: .26s; }
.hero--sheep .hero__sub { font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; letter-spacing: -.02em; max-width: 34ch; margin: 28px 0 32px; }
.hero__foot { position: absolute; bottom: 24px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; gap: 24px; font-size: 16px; padding-top: 14px; border-top: 1px solid var(--border-dark); }
.hero__foot a { padding-block: 8px; }
.hero__foot a:hover { color: var(--orange); }
.hero__foot > span { align-self: center; }
.hero__foot > span { margin-right: 60px; }
.statement--brand { background: var(--orange); color: var(--black); border-radius: 0; margin: 0; padding: clamp(80px, 10vw, 150px) var(--pad); border-block: 1px solid var(--border-light); }
.statement--brand .statement__text { max-width: none; font-size: clamp(2.8rem, 8vw, 8rem); font-weight: 600; line-height: .98; letter-spacing: -.06em; }
.statement--brand .statement__foot { margin-top: 40px; align-items: end; }
.statement--brand .statement__lead { max-width: 51ch; color: var(--black); font-size: 20px; }
.portfolio { background: var(--black); color: var(--paper); padding: clamp(80px, 10vw, 150px) var(--pad); scroll-margin-top: 80px; border-top: 1px solid var(--border-dark); }
.portfolio__head { display: grid; grid-template-columns: 7fr 4fr; gap: 8%; align-items: end; }
.portfolio__head .title { max-width: 15ch; }
.portfolio__head > p { max-width: 34ch; font-size: 18px; }
.portfolio__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0; }
.portfolio__filters button { padding: 12px 20px; min-height: 48px; background: #161615; border: 1px solid var(--border-dark-strong); border-radius: 10px; font-size: 16px; transition: background-color .2s, color .2s, border-color .2s; }
.portfolio__filters button:hover { background: var(--paper); color: var(--black); border-color: var(--paper); }
.portfolio__filters button[aria-pressed="true"] { background: var(--orange); color: var(--black); border-color: var(--orange); }
.portfolio__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 28px; margin-top: 40px; align-items: start; }
.project { grid-column: span 5; min-width: 0; padding: 16px 16px 20px; background: #141413; border: 1px solid var(--border-dark-strong); border-radius: 16px; transition: border-color .25s ease; }
.project:hover { border-color: rgb(252 127 16 / 65%); }
.project:nth-child(1), .project:nth-child(4) { grid-column: span 7; }
.project:nth-child(2) { margin-top: 100px; }
.project:nth-child(n+5) { grid-column: span 4; }
.project__image { position: relative; display: block; overflow: hidden; background: var(--black-3); border-radius: 10px; border: 1px solid rgb(255 255 255 / 10%); }
.project__image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .65s var(--ease); }
.project__expand { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--black); background: var(--paper); font-size: 24px; transition: background-color .2s; }
.project__image:hover img { transform: scale(1.035); }
.project__image:hover .project__expand { background: var(--orange); }
.project figcaption { margin-top: 16px; padding-inline: 4px; }
.project h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.project figcaption p, .project__description { font-size: 16px; color: var(--mute-dark); margin-top: 7px; max-width: 50ch; padding-inline: 4px; }
.project__description { color: var(--paper); line-height: 1.5; }
.portfolio__grid.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio__grid.is-filtered .project { grid-column: auto; margin-top: 0; }
.project-dialog { position: fixed; inset: 0; margin: auto; width: min(1100px, 94vw); max-height: 94dvh; overflow: auto; padding: 20px; border: 1px solid var(--border-dark-strong); border-radius: 18px; background: var(--black-2); color: var(--paper); }
.project-dialog::backdrop { background: rgb(0 0 0 / 88%); }
.project-dialog > img { width: 100%; height: min(65dvh, 720px); object-fit: contain; border-radius: 10px; }
.project-dialog > div { padding: 20px 8px 8px; }
.project-dialog h2 { font-size: 28px; line-height: 1.1; font-weight: 500; }
.project-dialog p { margin-top: 10px; font-size: 16px; }
.project-dialog__close { position: sticky; top: 0; margin-left: auto; display: block; background: var(--orange); color: var(--black); width: 48px; height: 48px; border-radius: 10px; font-size: 32px; z-index: 2; }
.expertise { padding: clamp(80px, 10vw, 150px) var(--pad); background: var(--paper); display: grid; grid-template-columns: 5fr 6fr; gap: 8%; border-block: 1px solid var(--border-light); }
.expertise__intro p { margin: 28px 0 32px; font-size: 18px; max-width: 31ch; }
.expertise__list { display: flex; flex-direction: column; gap: 10px; }
.expertise__list > a { display: flex; justify-content: space-between; align-items: center; min-height: 78px; padding: 18px 24px; background: var(--paper-2); border: 1px solid var(--border-light-strong); border-radius: 12px; transition: background-color .2s, border-color .2s; }
.expertise__list > a:hover { background: var(--orange); border-color: var(--black); }
.expertise__list h3 { font-size: clamp(1.25rem, 2.3vw, 2rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.expertise__list > a > span { font-size: 28px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-light); background: rgb(255 255 255 / 50%); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, border-color .2s; }
.expertise__list > a:hover > span { background: var(--black); color: var(--paper); border-color: var(--black); }
.sheep-story { background: var(--black-2); color: var(--paper); padding-bottom: clamp(80px, 8vw, 120px); }
.sheep-story__image img { width: 100%; height: auto; }
.sheep-story__body { padding: clamp(50px, 6vw, 90px) var(--pad) 0; display: grid; grid-template-columns: 5fr 5fr; gap: 32px 12%; align-items: start; }
.sheep-story__body .title { font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
.sheep-story__body p { font-size: 20px; line-height: 1.5; max-width: 42ch; }
.sheep-story__body > a { justify-self: start; }
.production { background: var(--paper); padding: clamp(80px, 10vw, 150px) var(--pad); display: grid; grid-template-columns: 5fr 6fr; gap: 8%; align-items: center; }
.production__body p { margin: 28px 0 32px; font-size: 18px; max-width: 40ch; }
.production figure img { aspect-ratio: 5 / 4; width: 100%; object-fit: cover; }
.production figcaption, .media-note { margin-top: 14px; font-size: 16px; color: var(--mute-light); }
.night .media-note { color: var(--mute-dark); }
.process { padding-top: 24px; }
.rows { display: grid; gap: 12px; }
.row { border: 1px solid var(--border-light-strong); border-radius: 14px; padding: 30px 32px; background: var(--paper-2); transition: border-color .25s ease; }
.row:last-child { border: 1px solid var(--border-light-strong); }
.row:hover { border-color: var(--orange); }
.row h3 { font-size: clamp(1.6rem, 3vw, 2.8rem); }
.contact { background: var(--black); border-top: 1px solid var(--border-dark); }
.contact__title { font-size: clamp(2.6rem, 5.5vw, 5rem); max-width: 12ch; line-height: 1.02; font-weight: 600; }
.contact__info li { padding-bottom: 14px; border-bottom: 1px solid var(--border-dark); }
.contact__info a { border: 0; }
.contact .form { padding: 32px; background: #141413; border: 1px solid var(--border-dark-strong); border-top: 2px solid var(--orange); border-radius: 16px; }
.field input, .field textarea { border-radius: 10px; border: 1px solid var(--border-dark-strong); background: #1c1c1a; transition: border-color .2s ease, background-color .2s ease; }
.field input:focus, .field textarea:focus { border-color: var(--orange); outline-color: transparent; background: #222220; }
.field span, .chips legend, .chips span { font-size: 16px; }
.chips span { border-radius: 8px; border: 1px solid var(--border-dark-strong); background: #1c1c1a; }
.chips input:checked + span { border-color: var(--orange); }
.footer__cols, .footer__top { border-top: 1px solid var(--border-dark); }
.footer__word { color: var(--orange); }
.footer__claim { font-size: 32px; max-width: none; }
.footer__cols .pill--orange { color: var(--black); }
.footer__cols .pill--orange:hover { color: var(--black); }
.wa { border: 1px solid rgb(255 255 255 / 22%); }
.about__img { position: static; }
.about--page { grid-template-columns: 1fr; }
.about--page .about__img img { aspect-ratio: 16 / 9; object-fit: contain; }
.about--page .about__body { max-width: 940px; }
.about__p { color: var(--paper); }
.phero__title { max-width: none; }
.phero__title .mute { display: block; margin-top: 22px; font-size: clamp(1.25rem, 2.6vw, 2.5rem); line-height: 1.2; max-width: 32ch; letter-spacing: -.035em; }
.card { border-radius: 16px; aspect-ratio: auto; height: auto; max-height: none; padding: 16px 16px 24px; background: #141413; border: 1px solid var(--border-dark-strong); transition: border-color .25s ease, transform .3s var(--ease); }
.card:hover { border-color: var(--orange); }
.card img { position: static; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; border: 1px solid rgb(255 255 255 / 10%); }
.card::after { display: none; }
.card__txt { position: static; display: block; padding: 20px 64px 0 4px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.card__txt strong { display: block; }
.card__txt span { display: block; margin-top: 8px; font-size: 16px; color: var(--mute-dark); letter-spacing: 0; line-height: 1.5; }
.card__more { bottom: 22px; right: 16px; border-radius: 10px; border: 1px solid rgb(14 14 14 / 16%); }
.sgrid { gap: 36px 28px; }
.segrow, .segrow:last-child { border: 1px solid var(--border-light-strong); border-radius: 14px; }
.segrow { padding-inline: 28px; background: var(--paper-2); margin-top: 14px; }
.segrow h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
.svc__cols li { border-bottom: 1px solid var(--border-light); }
.svc__cols li:last-child { border-bottom: 0; }
.acc__item, .acc__item:last-child { margin-bottom: 12px; padding-inline: 22px; background: #141413; border: 1px solid var(--border-dark-strong); border-radius: 12px; }
.acc--light .acc__item, .acc--light .acc__item:last-child { background: var(--paper-2); border: 1px solid var(--border-light-strong); }
.plant__sticky { position: static; }
.plant .title, .process .title { max-width: 18ch; }
.plant .title .mute, .process .title .mute, .night .title .mute { display: block; margin-top: 24px; font-size: 20px; line-height: 1.4; max-width: 38ch; letter-spacing: 0; }
.cta-band { border-block: 1px solid rgb(14 14 14 / 18%); }
.cta-band__title { font-size: clamp(2.3rem, 4.5vw, 4.5rem); max-width: 20ch; }
.cta-band__title .mute { display: block; margin-top: 22px; font-size: 20px; line-height: 1.4; color: var(--black); letter-spacing: 0; }
@media (max-width: 1000px) {
  .hero--sheep .hero__word { font-size: 7vw; }
  .nav__links { height: 100dvh; visibility: hidden; }
  .nav__links.is-open { visibility: visible; }
  .nav__logo img { height: 36px; }
  .project:nth-child(2) { margin-top: 50px; }
  .portfolio__head { grid-template-columns: 1fr; gap: 24px; }
  .expertise, .production { grid-template-columns: 1fr; gap: 48px; }
  .expertise__list { display: grid; grid-template-columns: 1fr 1fr; }
  .sheep-story__body { gap: 32px 6%; }
}
@media (max-width: 760px) {
  .nav { padding-block: 12px; }
  .nav__logo img { height: 34px; }
  .nav__links { font-size: 2.25rem; }
  .hero--sheep { height: 850px; min-height: 760px; max-height: 1100px; }
  .hero--sheep .hero__content { top: 115px; width: auto; right: var(--pad); transform: none; }
  .hero--sheep .hero__word { font-size: clamp(44px, 9vw, 64px); line-height: 1; }
  .hero--sheep .hero__sub { font-size: 18px; max-width: 34ch; margin: 22px 0 24px; }
  .hero--sheep .hero__media { top: auto; bottom: 50px; height: 45%; width: 100%; }
  .hero--sheep .hero__media img { object-fit: cover; object-position: 80% 28%; transform: none; }
  .hero__foot { bottom: 18px; font-size: 16px; }
  .hero__foot > span { display: none; }
  .statement--brand { padding-block: 80px; }
  .statement--brand .statement__text { font-size: clamp(44px, 10vw, 64px); }
  .statement--brand .statement__lead { font-size: 18px; }
  .portfolio__grid, .portfolio__grid.is-filtered { grid-template-columns: 1fr; gap: 44px; }
  .portfolio__grid .project { grid-column: auto; margin: 0; }
  .portfolio__filters { gap: 8px; margin-block: 28px; }
  .portfolio__filters button { padding-inline: 14px; }
  .project h3 { font-size: 24px; }
  .expertise__list { grid-template-columns: 1fr; }
  .expertise__list > a { min-height: 72px; }
  .sheep-story__body { grid-template-columns: 1fr; }
  .sheep-story__body .title { max-width: 16ch; }
  .sheep-story__body p { font-size: 18px; }
  .production .title { max-width: 16ch; }
  .row { padding: 24px; }
  .contact__title { max-width: 12ch; }
  .footer__claim { font-size: 24px; }
  .project-dialog { padding: 12px; }
  .project-dialog h2 { font-size: 24px; }
  .project-dialog > img { height: auto; max-height: 62dvh; }
  .phero__title { font-size: 11vw; }
  .phero__title .mute { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Real vector icons, with a slightly stronger optical weight. */
.icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; vertical-align: middle; }
.pill i { display: inline-flex; align-items: center; justify-content: center; }
.pill .icon { width: 20px; height: 20px; }
.hero__foot > a, .footer__up { display: inline-flex; align-items: center; gap: 12px; }
.expertise__list > a > span { display: inline-flex; }
.project-dialog__close { display: grid; place-items: center; }
.nav__burger span { height: 2.5px; border-radius: 2px; }
.acc__item summary i::before, .acc__item summary i::after { height: 2.5px; border-radius: 2px; }

.crumb { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.crumb .icon { width: 22px; height: 22px; color: var(--orange); }
.crumb:hover { color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .crumb .icon { transition: transform 200ms var(--motion-out); }
  .crumb:hover .icon { transform: translateX(-3px); }
  .crumb:focus-visible .icon { transform: none; }
}


/* Transparent navigation adapts its entire foreground to the current section. */
.nav--on-light .nav__logo img { filter: brightness(0); }
.nav--on-light .nav__actions > .pill { background: var(--black); color: var(--paper); }
.nav--on-light .nav__actions > .pill:hover { background: #30302e; color: var(--white); }
@media (min-width: 1001px) {
  .nav--on-light .nav__links { color: var(--black); }
  .nav--on-light .nav__links a:hover,
  .nav--on-light .nav__links a[aria-current="page"] { color: #914600; }
  .motion-ready .nav--on-light .nav__links a::after { background: currentColor; }
}
@media (max-width: 1000px) {
  .nav--menu-open .nav__logo img { filter: none; }
  .nav__links.is-open { color: var(--white); }
}
