/* A quieter, photo-led finish using Atypical's original brand palette. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.header { transition: box-shadow .3s ease, border-color .3s ease; }
.header.is-scrolled { box-shadow: 0 5px 22px #0000000b; border-color: #d9d9d5; }
.btn { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.hero-copy { padding-right: 44px; }
.hero-copy h1 { letter-spacing: -.05em; line-height: 1.06; }
.hero-copy p { max-width: 425px; }
.hero-photo::after {
  content: ''; position: absolute; inset: 55% 0 0;
  background: linear-gradient(transparent, #10100e55); pointer-events: none;
}
.hero-photo .photo-label { z-index: 1; }
.photo-label { background: #242421e8; backdrop-filter: blur(8px); }
.trust { background: #eeeee9; }
.section { padding-top: 84px; padding-bottom: 84px; }
.section:not(.scope):not(.dark-section):not(.projects-section) + .section:not(.scope):not(.dark-section):not(.projects-section) { padding-top: 8px; }
.section-head { margin-bottom: 36px; }
.team-split, .copy-split, .faq-grid { column-gap: 64px; }
.scope-grid { column-gap: 64px; }
.about-intro { column-gap: 64px; align-items: center; }
.about-portrait { width: min(100%, 340px); justify-self: center; align-self: center; }
.about-portrait img { aspect-ratio: .8; object-position: center 40%; }
.portrait-label { text-align: center; padding: 22px; }
.section-head p { line-height: 1.75; }
.service-grid { gap: 26px; }
.service-card { display: flex; flex-direction: column; }
.service-card > a { display: block; }
.service-image { aspect-ratio: 4 / 4.3; }
.service-card .service-body {
  position: relative; display: flex; flex: 1; flex-direction: column;
  margin-top: 0; padding-top: 25px; border-top: 0;
}
.service-card .service-body::before {
  content: ''; position: absolute; top: 0; left: 0; width: 42px; height: 2px;
  background: var(--gold); transition: width .55s var(--ease-out);
}
.service-card:hover .service-body::before,
.service-card:focus-within .service-body::before { width: 100%; }
.service-card h3 { font-size: 23px; line-height: 1.22; letter-spacing: -.035em; }
.service-card p { margin-bottom: 22px; }
.service-card .link { margin-top: auto; align-self: flex-start; }
.service-card .number { color: var(--gold-dark); }
.partner-band { margin-top: 36px; }
.evocold-block { grid-template-columns: 1fr 1fr; }
.evocold-image { min-height: 610px; }
.evocold-image > img { object-position: center; }
.evo-stamp {
  width: min(320px, calc(100% - 56px)); left: 28px; bottom: 28px;
  background: #0e2c49; padding: 0; box-shadow: 0 10px 36px #0002;
}
.evo-stamp img { width: 100%; height: auto; object-fit: contain; }
.evocold-content { padding: 58px clamp(36px, 5vw, 80px); }
.evocold-content .eyebrow { margin-bottom: 28px; }
.evocold-types { gap: 0; padding: 7px 0 26px; }
.evocold-types span { border: 0; padding: 0 18px; border-right: 1px solid #66665e; }
.evocold-types span:first-child { padding-left: 0; }
.evocold-types span:last-child { border: 0; }
.projects-section { background: #eaeae5; }
.project-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
.project-title { align-items: center; padding-bottom: 22px; }
.project-title > .arrow {
  box-sizing: content-box; padding: 11px; border: 1px solid #c9c8bf;
  border-radius: 50%; transition: background .25s ease, transform .35s var(--ease-out);
}
.project-card:hover .project-title > .arrow { background: var(--gold); transform: rotate(-35deg); }
.project-info { padding-top: 25px; }
.project-info p { max-width: 480px; }
.page-hero { padding-top: 42px; padding-bottom: 56px; }
.breadcrumb { margin-bottom: 32px; }
.page-hero .lead { line-height: 1.75; }
.page-hero-picture { aspect-ratio: 1.06; }
.evo-hero { background: #eeeee9; }
.evo-hero .evo-label {
  right: auto; width: min(300px, calc(100% - 40px)); padding: 0;
  background: #0e2c49; box-shadow: 0 10px 36px #0002;
}
.evo-label img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); }
.product-logo { background: #0e2c49; }
.product-logo img { width: 100%; height: auto; aspect-ratio: 2.75; object-fit: contain; }
.product-card .product-photo { width: 100%; height: auto; aspect-ratio: 1.2; padding: 0; }
.product-card .product-copy { display: flex; flex: 1; flex-direction: column; padding: 30px; }
.product-card .link { margin-top: auto; align-self: flex-start; }
.cta { border-top: 2px solid var(--gold); }
.cta-inner { padding-top: 64px; padding-bottom: 64px; }
.footer { padding-top: 48px; }
.enquiry-panel { border-top: 2px solid var(--gold); }

/* Scroll reveals are opt-in: all content stays visible without JavaScript. */
.motion-ready .reveal {
  transition: opacity .8s var(--ease-out) var(--reveal-delay, 0ms),
              transform .8s var(--ease-out) var(--reveal-delay, 0ms),
              border-color .3s ease, box-shadow .4s ease;
}
.motion-ready .reveal.pending { opacity: 0; transform: translate3d(0, 26px, 0); }
.motion-ready .media-reveal > img {
  transition: transform 1.1s var(--ease-out) var(--reveal-delay, 0ms);
}
.motion-ready .media-reveal.pending > img { transform: scale(1.045); }
.motion-ready .reveal .eyebrow::before {
  transform-origin: left; transition: transform .9s var(--ease-out) var(--reveal-delay, 0ms);
}
.motion-ready .reveal.pending .eyebrow::before { transform: scaleX(0); }
.service-image img, .project-img img, .image-pair .frame img {
  transition: transform 1.05s var(--ease-out);
}
.motion-ready .reveal.pending .service-image img,
.motion-ready .reveal.pending .project-img img,
.motion-ready .reveal.pending .frame img { transform: scale(1.07); }
.nav > a:not(.btn), .services-menu summary { position: relative; }
.nav > a:not(.btn)::after, .services-menu summary::after {
  content: ''; position: absolute; height: 1px; background: var(--gold);
  bottom: 12px; left: 0; right: 0; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav > a:not(.btn):hover::after, .nav > a:not(.btn):focus-visible::after,
.services-menu summary:hover::after, .services-menu[open] summary::after { transform: scaleX(1); }
.filter { transition: color .25s ease, background .25s ease, border-color .25s ease; }
.filter:hover { border-color: var(--gold-dark); }
.gallery-button::after { transition: transform .4s var(--ease-out), background .3s ease; }
.product-card { transition: border-color .3s ease, box-shadow .4s ease; }
.footer ul a { display: inline-block; transition: color .25s ease, transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn { transition: transform .3s var(--ease-out), background .25s ease, border-color .25s ease, box-shadow .3s ease; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 18px #00000012; }
  .service-card:hover .service-image img, .project-card:hover .project-img img { transform: scale(1.06); }
  .image-pair .frame:hover img { transform: scale(1.035); }
  .gallery-button:hover::after { transform: rotate(45deg); background: var(--gold); }
  .product-card:hover { border-color: var(--gold); box-shadow: 0 12px 28px #00000009; }
  .footer ul a:hover { transform: translateX(3px); color: var(--gold-dark); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: hero-enter .85s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
}

@media (min-width: 1201px) {
  .hero-grid { min-height: 630px; }
  .section { padding-top: 84px; padding-bottom: 84px; }
  .hero-copy { padding-left: max(56px, calc((1600px - 1320px) / 2 - (1600px - 100vw) / 2)); }
}
@media (min-width: 1600px) { .hero-copy { padding-left: 140px; } }
@media (min-width: 701px) and (max-width: 960px) {
  .section { padding-top: 68px; padding-bottom: 68px; }
  .about-intro { column-gap: 40px; }
  .hero-copy h1 { font-size: clamp(40px, 5.1vw, 49px); }
  .hero-copy { padding-left: 32px; padding-right: 26px; }
  .evocold-content { padding: 45px 32px; }
  .evocold-image { min-height: 580px; }
  .service-image { aspect-ratio: 1.4; }
  .product-range { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .product-logo { grid-column: 1; }
  .product-card .product-photo { grid-column: 1; aspect-ratio: 1.4; }
  .product-card .product-copy { grid-column: 2; grid-row: 1 / 3; justify-content: center; }
  .product-card .link { margin-top: 10px; }
}
@media (max-width: 700px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  .about-intro { row-gap: 30px; }
  .about-portrait { display: block; width: min(100%, 320px); }
  .about-portrait img { aspect-ratio: .8; }
  .portrait-label { padding: 20px; }
  .hero-copy { padding: 51px 24px 45px; }
  .hero-copy h1 { font-size: clamp(42px, 9.7vw, 67px); }
  .hero-photo { aspect-ratio: 1.3; }
  .hero-copy p { max-width: 440px; }
  .section-head { margin-bottom: 28px; }
  .service-grid { gap: 36px 20px; }
  .service-image { aspect-ratio: 1; }
  .service-card .service-body { padding-top: 20px; }
  .service-card h3 { font-size: 21px; }
  .service-card p { font-size: 13px; margin-bottom: 16px; }
  .evocold-content { padding: 44px 24px; }
  .evocold-image { min-height: 0; aspect-ratio: 1.15; }
  .evo-stamp { width: min(260px, calc(100% - 40px)); left: 20px; bottom: 20px; }
  .project-grid { grid-template-columns: 1fr; gap: 38px; }
  .project-title h3 { font-size: 27px; }
  .project-title > .arrow { padding: 9px; }
  .page-hero { padding-bottom: 48px; }
  .page-hero-picture { aspect-ratio: 1.2; }
  .evo-hero .evo-label { padding: 0; width: min(260px, calc(100% - 40px)); }
  .product-card .product-copy { padding: 27px; }
  .product-card .product-photo { aspect-ratio: 1.4; }
  .cta-inner { padding: 44px 0; }
  .footer { padding-top: 45px; }
}
@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-image { aspect-ratio: 1.4; }
  .service-card h3 { font-size: 25px; min-height: 0; }
  .service-card .number { display: block; }
  .service-card p { font-size: 14px; max-width: none; }
  .service-card .link { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal.pending { opacity: 1; transform: none; }
  .motion-ready .media-reveal.pending > img { transform: none; }
  .motion-ready .reveal.pending .eyebrow::before,
  .motion-ready .reveal.pending .service-image img,
  .motion-ready .reveal.pending .project-img img,
  .motion-ready .reveal.pending .frame img,
  .btn:hover, .service-card:hover .service-image img, .project-card:hover .project-img img,
  .image-pair .frame:hover img, .gallery-button:hover::after, .footer ul a:hover { transform: none; }
}
@media print {
  .motion-ready .reveal.pending { opacity: 1; transform: none; }
  .motion-ready .media-reveal.pending > img { transform: none; }
}

/* Netlify form feedback */
.form-status[data-state="error"] { border-left-color: #a43d35; background: #fff1ee; }
.form-status[data-state="success"] { border-left-color: var(--gold); }
