/* About, contact and 404. Values come from store.css tokens; each page names its Dribbble shots in a comment at the top of its markup. */

/* Last block on the page keeps the section rhythm before the footer */
.store { padding-bottom: var(--section); }
.crumbs [aria-current="page"] { color: var(--n-900); }

/* About: centred head over a wide photograph (Zain's Studio) */
.about-hero { display: grid; justify-items: center; padding-top: 32px; text-align: center; }
.about-hero .crumbs { justify-content: center; }
.store .about-title { max-width: 16ch; margin-top: 8px; font-size: clamp(40px, 6.4vw, 88px); }
.about-lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--n-700); max-width: 44ch; text-wrap: pretty; }
.about-photo { width: 100%; height: auto; margin-top: 48px; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; border-radius: 16px; background: var(--n-50); }
@media (min-width: 768px) { .about-photo { margin-top: 64px; aspect-ratio: 12 / 5; } }

/* About: left-aligned statement, then four equal grey cards (Delisas) */
.about-story { display: grid; gap: 24px; }
.about-statement { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; max-width: 52ch; text-wrap: pretty; }
.about-prose { font-size: 16px; line-height: 1.6; color: var(--n-700); max-width: 60ch; }
.about-values-title { margin-bottom: 32px; }
.about-values { display: grid; gap: 8px; }
.about-values li { display: grid; align-content: space-between; gap: 32px; min-height: 160px; padding: 24px; border-radius: 12px; background: var(--n-50); }
.about-values strong { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.about-values span { font-size: 14px; line-height: 1.5; color: var(--n-500); max-width: 28ch; }
@media (min-width: 768px) { .about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .about-values { grid-template-columns: repeat(4, minmax(0, 1fr)); } .about-values li { min-height: 200px; } }

/* About: closing photograph card, text bottom left, actions bottom right (Delisas) */
.about-close { position: relative; display: grid; align-content: end; gap: 24px; min-height: 520px; padding: 24px; overflow: hidden; border-radius: 16px; color: var(--n-0); isolation: isolate; }
.about-close img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-close::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.12 0 0 / 0.85), oklch(0.12 0 0 / 0.35) 55%, transparent); }
.about-close-copy { display: grid; gap: 12px; }
.about-close-title { font-size: clamp(24px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; max-width: 30ch; text-wrap: balance; }
.about-close-copy p { font-size: 16px; line-height: 1.5; color: var(--n-100); max-width: 48ch; }
.about-close-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.about-ghost {
    display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 8px;
    box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.6); color: var(--n-0); font-size: 16px; font-weight: 500;
    transition: background-color 150ms ease-out, color 150ms ease-out;
}
@media (min-width: 1024px) {
    .about-close { grid-template-columns: minmax(0, 1fr) auto; align-items: end; min-height: 560px; padding: 48px; }
}

/* Contact: one grey band, title and lede left, the form on a white card right (Wavespace) */
.contact-band { padding-block: 32px 48px; background: var(--n-50); }
.contact-grid { display: grid; gap: 32px; }
.contact-intro { display: grid; align-content: start; gap: 16px; }
.store .contact-title { font-size: clamp(48px, 7vw, 96px); }
.contact-lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--n-700); max-width: 36ch; }
.contact-form { padding: 24px; border-radius: 16px; background: var(--n-0); box-shadow: 0 24px 48px oklch(0 0 0 / 0.06); }
.contact-form-title { margin-bottom: 24px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
@media (min-width: 1024px) {
    .contact-band { padding-block: 32px 96px; }
    .contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
    .contact-intro { padding-top: 64px; gap: 24px; }
    .contact-form { padding: 32px; }
}

/* Contact details: heading and note left, details set large right (Wavespace) */
.contact-details { display: grid; gap: 32px; }
.contact-details-head { display: grid; align-content: start; gap: 16px; }
.contact-details-head p { font-size: 16px; line-height: 1.5; color: var(--n-700); max-width: 36ch; }
.contact-list { display: grid; gap: 32px; }
.contact-item { display: grid; gap: 8px; }
.contact-item dt { font-size: 14px; color: var(--n-500); }
.contact-item dd { display: grid; justify-items: start; gap: 4px; }
.contact-item a { font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: var(--n-900); overflow-wrap: anywhere; transition: color 150ms ease-out; }
@media (min-width: 1024px) {
    .contact-details { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
}

/* FAQ: centred head, narrow accordion, icon, question, chevron (Untitled UI) */
.faq { display: grid; justify-items: center; text-align: center; }
.faq-sub { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--n-500); }
.faq-list { width: 100%; max-width: 768px; margin-top: 48px; text-align: left; }
.faq-row { border-top: 1px solid var(--n-100); }
.faq-row:first-child { border-top: 0; }
.faq-row summary {
    display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; align-items: center; gap: 16px;
    padding-block: 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--n-900);
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row svg { width: 24px; height: 24px; }
.faq-icon { color: var(--n-500); }
.faq-chev { color: var(--n-400); transition: rotate 200ms var(--ease); }
.faq-row[open] .faq-chev { rotate: 180deg; }
.faq-row p { margin: -8px 0 0; padding: 0 40px 24px; font-size: 16px; line-height: 1.6; color: var(--n-500); max-width: 60ch; }
.faq-row summary:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 2px; border-radius: 4px; }

/* Form fields */
.form-stack { display: grid; gap: 24px; }
.form-pair { display: grid; gap: 24px; }
@media (min-width: 768px) { .form-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 14px; font-weight: 500; color: var(--n-900); }
.req { color: var(--accent-600); }
.input {
    width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 8px;
    background: var(--n-0); color: var(--n-900); font-size: 16px; line-height: 1.5;
    box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.12);
    transition: box-shadow 150ms ease-out;
}
.input::placeholder { color: var(--n-500); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent-600); }
textarea.input { resize: vertical; min-height: 144px; }
select.input {
    appearance: none; padding-right: 40px; cursor: pointer;
    background: var(--n-0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3F47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.phone-pair { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.btn-block { width: 100%; }

/* Inline notices */
.notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.notice strong { display: block; font-weight: 500; color: var(--n-900); }
.notice p { color: var(--n-700); }
.notice-ok { background: #E8F7EF; }
.notice-ok svg { color: #1E8A52; }
.notice-error { background: var(--accent-50); }
.notice-error svg { color: var(--accent-700); }

/* 404: one giant line running past both edges, the product over its middle, then a centred note (tubik) */
.lost { padding-top: 32px; overflow: hidden; }
.lost-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.lost-line {
    grid-area: 1 / 1; justify-self: center; white-space: nowrap; font-size: clamp(56px, 17vw, 260px); font-weight: 500;
    letter-spacing: -0.04em; line-height: 1; color: var(--n-900);
}
.lost-object {
    grid-area: 1 / 1; width: clamp(160px, 22vw, 320px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%;
    border-radius: 16px; background: var(--n-50); box-shadow: 0 24px 48px oklch(0 0 0 / 0.12); translate: 0 16%;
}
.lost-copy { display: grid; justify-items: center; gap: 16px; margin-top: 64px; text-align: center; }
.lost-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.lost-copy > p { font-size: 16px; line-height: 1.5; color: var(--n-700); max-width: 44ch; }
.lost-search { width: 100%; max-width: 420px; margin-top: 8px; }
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 32px; }
.lost-btn { border-radius: 9999px; }
@media (min-width: 768px) { .lost-copy { margin-top: 96px; } }

@media (hover: hover) and (pointer: fine) {
    .contact-item a:hover { color: var(--accent-600); }
    .faq-row summary:hover span { color: var(--accent-600); }
    .about-ghost:hover { background: var(--n-0); color: var(--n-900); }
}
@media (prefers-reduced-motion: reduce) {
    .faq-chev { transition: none; }
}
