@import url('./fonts.css');

:root {
    --ink: #302044;
    --muted: #69636f;
    --lime: #cede00;
    --accent-text: #637000;
    --paper: #fff;
    --line: #e4e1e7;
    --soft: #f6f6f3;
    --radius: 8px;
    --gutter: clamp(20px, 4vw, 56px);
    --section-space: clamp(56px, 7vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.5vw, 62px); font-weight: 500; line-height: 1.13; letter-spacing: -.055em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: -.04em; margin-bottom: 0; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.container, .header { width: min(1264px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: block; flex-shrink: 0; width: 176px; }
.brand img { display: block; width: 100%; height: auto; }
.header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.header nav > a:not(.button) { padding-block: 10px; }
.header nav > a:not(.button):hover, .text-link:hover, .footer-right a:hover { color: var(--accent-text); }
.button { min-height: 52px; background: var(--lime); border: 1px solid var(--lime); display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--ink); font-size: 14px; line-height: 1.5; font-weight: 600; padding: 15px 22px; border-radius: var(--radius); transition: background .2s, border-color .2s; }
.button:hover { background: #dfeb45; border-color: #dfeb45; }
.button span { font-size: 22px; line-height: 1; flex-shrink: 0; }
.button-small { min-height: 44px; padding: 11px 20px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 48px; padding-block: 64px; }
.hero-copy, .hero-art, .about-grid > *, .contact-section > * { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; display: flex; align-items: center; gap: 10px; margin: 0 0 24px; line-height: 1.7; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px #cede0018; }
.highlight { white-space: nowrap; background: linear-gradient(transparent 81%, var(--lime) 81%, var(--lime) 95%, transparent 95%); }
.hero-description { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 470px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 24px; }
.text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.hero-note { border-left: 3px solid var(--lime); padding-left: 16px; margin-top: 32px; }
.hero-note p { font-size: 14px; line-height: 1.75; margin: 0; color: var(--muted); }
.hero-note strong { font-weight: 600; color: var(--ink); }
.hero-art { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.sculpture { display: block; height: auto; width: 100%; aspect-ratio: 1; object-fit: contain; }
.art-caption { margin: 0; padding: 16px 24px; font-size: 14px; border-top: 1px solid var(--line); }
.capabilities { border-block: 1px solid var(--line); }
.capabilities .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-block: 22px; }
.capabilities p { margin: 0; font-size: 13px; color: var(--muted); }
.capabilities ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; margin: 0; font-size: 14px; font-weight: 500; }
.capabilities li { display: flex; align-items: center; gap: 10px; }
.capabilities li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-text); }
.section { padding-block: var(--section-space); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section-heading > p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; max-width: 380px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.service-image { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; margin-bottom: 24px; background: var(--soft); }
.service h3 { margin-bottom: 14px; }
.service p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 24px; }
.service ul { list-style: none; padding: 0; margin: auto 0 24px; }
.service li { font-size: 13px; line-height: 1.7; margin-bottom: 8px; display: flex; gap: 9px; align-items: baseline; }
.service li:last-child { margin-bottom: 0; }
.service li::before { content: ''; flex-shrink: 0; width: 4px; height: 4px; background: var(--accent-text); border-radius: 50%; }
.service > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; font-weight: 600; }
.service > a:hover { color: var(--accent-text); }
.service > a span { font-size: 22px; flex-shrink: 0; }
.about { background: var(--ink); color: #fff; padding-block: var(--section-space); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; }
.about h2 { margin-bottom: 24px; }
.about h2 span { color: #ccc5d5; }
.about p { color: #d2cdd9; font-size: 15px; line-height: 1.8; max-width: 490px; margin-bottom: 16px; }
.about .text-link { color: var(--lime); margin-top: 4px; }
.about .text-link:hover { color: #fff; }
.about a:focus-visible { outline-color: var(--lime); }
.principles { align-self: center; }
.principles article { display: flex; gap: 20px; border-bottom: 1px solid #ffffff26; padding: 24px 0; }
.principles article:first-child { padding-top: 0; }
.principles article:last-child { border: 0; padding-bottom: 0; }
.principles article > span { color: var(--lime); font-size: 13px; padding-top: 3px; }
.principles h3 { font-size: 18px; margin-bottom: 8px; }
.principles article p { margin: 0; font-size: 14px; }
.about-visual { position: relative; margin-top: 40px; margin-bottom: 0; overflow: hidden; border-radius: var(--radius); background: #443653; }
.about-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3; object-fit: cover; object-position: center 55%; }
.about-visual figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 48px 24px 24px; background: linear-gradient(transparent, #21142feb); color: #fff; font-size: 14px; }
.steps { --step-gap: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--step-gap); list-style: none; margin: 0; padding: 36px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li { position: relative; min-width: 0; }
.steps > li:not(:last-child)::after { content: ''; position: absolute; top: 35px; left: 72px; width: calc(100% + var(--step-gap) - 72px); border-top: 1px dashed #b4b99b; }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); box-shadow: 0 0 0 7px var(--soft); }
.step-node svg { width: 32px; height: 32px; }
.step-number { position: absolute; top: -5px; right: -7px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 600; border: 3px solid var(--soft); }
.steps h3 { font-size: 18px; margin-bottom: 12px; }
.steps p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.contact-section { background: var(--soft); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; padding: 48px; margin-bottom: 48px; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy h2 span { color: var(--accent-text); }
.contact-copy > p:not(.eyebrow) { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
.contact-form { display: flex; flex-direction: column; }
.contact-form > label { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.contact-form > input, .contact-form > textarea { border: 1px solid #cdc8d1; border-radius: 4px; padding: 12px 14px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; margin-bottom: 20px; width: 100%; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #76707d; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.7; margin: 0 0 24px; }
.consent input { accent-color: var(--ink); margin: 3px 0 0; width: 18px; height: 18px; flex-shrink: 0; }
.privacy-trigger { color: inherit; font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.privacy-trigger:hover { color: var(--ink); }
.contact-form .button { width: 100%; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status, .form-errors { font-size: 14px; padding: 16px; border-radius: 4px; line-height: 1.6; margin-bottom: 20px; }
.form-status { background: #e6efb9; color: #354608; }
.form-errors { background: #f9e6e6; color: #8c2222; }
.form-errors ul { padding-left: 18px; margin-bottom: 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px 32px; border-top: 1px solid var(--line); }
.footer p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.footer-right { text-align: right; font-size: 13px; color: var(--muted); }
.footer-right p { margin-bottom: 8px; }
.footer-right > a, .footer-right > button { display: inline-flex; align-items: center; min-height: 44px; }
.footer-right a { margin-left: 24px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 12px; background: var(--lime); z-index: 100; }
.skip-link:focus { top: 12px; }
dialog { border: 0; border-radius: var(--radius); padding: 40px; max-width: 550px; width: calc(100% - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; color: var(--ink); box-shadow: 0 20px 90px #0003; }
dialog::backdrop { background: #211431a8; backdrop-filter: blur(4px); }
dialog h2 { font-size: 28px; margin-bottom: 24px; }
dialog p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: var(--muted); }
.dialog-close { position: absolute; right: 8px; top: 8px; background: none; border: 0; font-size: 28px; color: var(--ink); width: 44px; height: 44px; }

@media (max-width: 1100px) {
    .header nav { gap: 20px; }
    .hero { gap: 32px; }
    .hero .eyebrow { max-width: 340px; }
    .services { gap: 16px; }
    .service { padding: 20px; }
    .service h3 { min-height: 2.8em; }
    .about-grid { gap: 40px; }
    .contact-section { padding: 36px; gap: 36px; }
}

@media (max-width: 900px) {
    .header { min-height: 80px; position: relative; }
    .brand { width: 160px; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
    .menu-toggle span { width: 22px; height: 2px; background: var(--ink); }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .header nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: #fff; padding: 20px; z-index: 10; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px #30204412; }
    .header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .hero { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 48px; }
    h1 { font-size: clamp(36px, 4.6vw, 44px); }
    .hero-art { align-self: center; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
    .section-heading > p { max-width: 520px; }
    .services { grid-template-columns: 1fr; gap: 24px; }
    .service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto auto auto; column-gap: 24px; padding: 24px; }
    .service-image { grid-row: 1 / 5; height: 100%; min-height: 260px; aspect-ratio: auto; margin: 0; }
    .service h3 { min-height: 0; }
    .service p, .service ul { margin-bottom: 20px; }
    .service ul { margin-top: 0; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about p { max-width: 650px; }
    .principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .principles article { flex-direction: column; gap: 8px; border: 0; padding: 0; }
    .about-visual img { aspect-ratio: 2.4; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .steps > li:nth-child(2)::after { display: none; }
    .contact-section { grid-template-columns: 1fr; gap: 32px; }
    .contact-copy h2 br { display: none; }
}

@media (max-width: 600px) {
    .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
    h1 { font-size: clamp(36px, 9vw, 50px); }
    .hero .eyebrow { max-width: 100%; }
    .hero-note { margin-top: 24px; }
    .hero-art { width: 100%; }
    .art-caption { padding: 14px 20px; }
    .capabilities .container { gap: 12px; }
    .capabilities ul { gap: 10px 20px; font-size: 13px; }
    .section-heading { margin-bottom: 28px; }
    .section-heading > p br { display: none; }
    .service { display: flex; padding: 20px; }
    .service-image { height: auto; min-height: 0; aspect-ratio: 3/2; margin-bottom: 24px; }
    .service h3 { font-size: 21px; }
    .service p { margin-bottom: 20px; }
    .service ul { margin-top: 0; }
    .principles { display: block; }
    .principles article { flex-direction: row; gap: 16px; border-bottom: 1px solid #ffffff26; padding: 20px 0; }
    .about-visual { margin-top: 32px; }
    .about-visual img { aspect-ratio: 1.35; }
    .about-visual figcaption { padding: 40px 20px 20px; font-size: 13px; }
    .steps { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
    .steps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
    .step-node { grid-row: 1 / 3; width: 56px; height: 56px; margin: 0; }
    .step-node svg { width: 27px; height: 27px; }
    .steps > li:not(:last-child)::after { display: block; top: 56px; bottom: -32px; left: 27px; width: 0; border-top: 0; border-left: 1px dashed #b4b99b; }
    .steps h3 { font-size: 17px; }
    .contact-section { padding: 24px; margin-bottom: 32px; }
    .contact-copy .eyebrow { letter-spacing: .07em; }
    .footer { align-items: flex-start; flex-direction: column; gap: 20px; }
    .footer-right { text-align: left; }
    dialog { padding: 40px 24px 24px; }
}

@media (max-width: 360px) {
    .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .steps { grid-template-columns: 1fr; }
    .contact-section { padding: 20px; }
    .contact-form .button { padding-inline: 14px; gap: 12px; }
}

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

/* Legal pages share the landing's typography, colours and spacing. */
.legal-page { max-width: 900px; padding-block: var(--section-space); }
.legal-page h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 16px; }
.legal-date { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.legal-summary { display: flex; align-items: baseline; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 40px; }
.legal-summary p { margin: 0; }
.legal-page section { margin-bottom: 36px; }
.legal-page section h2 { font-size: 25px; margin-bottom: 16px; }
.legal-page p, .cookie-card dd { color: var(--muted); }
.legal-page code { overflow-wrap: anywhere; }
.legal-page p:last-child { margin-bottom: 0; }
.legal-page p a, dialog p a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.cookie-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.cookie-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.cookie-card h3 { font-size: 18px; margin-bottom: 16px; overflow-wrap: anywhere; }
.cookie-card code { font-size: .95em; }
.cookie-card p { font-size: 14px; }
.cookie-card dl { margin: 24px 0 0; font-size: 14px; }
.cookie-card dl > div { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.cookie-card dt { font-weight: 600; }
.cookie-card dd { margin: 4px 0 0; }
@media (max-width: 600px) {
    .legal-header { gap: 12px; }
    .legal-header .brand { width: 130px; }
    .legal-header .text-link { font-size: 13px; gap: 8px; }
    .cookie-list { grid-template-columns: 1fr; }
    .cookie-card, .legal-summary { padding: 20px; }
    .footer-right > a { margin-left: 0; margin-right: 16px; }
    .footer-right > button { margin-right: 16px; }
}
