/* Athena's Archive — site styles. Colours from the brand palette. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

:root {
  --navy: #0F2440;
  --parchment: #F4EFE4;
  --card: #FBF8F1;
  --brass: #A88446;
  --brass-deep: #7E6230;
  --ink: #1E2A3A;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-deep); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--card); padding: 8px 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(24px, 2.4vw, 28px); }
p { margin: 0; }
.rule { width: 64px; height: 1px; background: var(--brass); border: 0; margin: 0; }
.eyebrow { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); }

/* Header */
.site-header { background: var(--navy); border-bottom: 1px solid var(--brass); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .mark { width: 72px; height: 72px; }
.brand .word { height: 34px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { color: var(--parchment); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--parchment); border-bottom-color: var(--brass); }

/* Buttons */
.btn { display: inline-block; min-width: 200px; text-align: center; text-decoration: none; padding: 13px 28px; border-radius: 4px; font-family: var(--serif); font-size: 17px; letter-spacing: 0.04em; cursor: pointer; border: 1px solid var(--navy); line-height: 1.4; }
.btn-primary { background: var(--navy); color: var(--parchment); }
.btn-primary:hover { background: #1a3458; color: var(--parchment); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--parchment); }
.btn-brass { background: var(--brass); color: var(--navy); border-color: var(--brass); min-width: 0; }
.btn-brass:hover { background: #b8955a; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Page title block */
.title-block { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; max-width: 720px; margin: 0 auto; }
.title-block p { font-size: 20px; line-height: 1.55; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: flex; flex-direction: column; gap: 36px; }
.gallery { display: flex; gap: 20px; align-items: flex-start; }
.gallery-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.frame { align-self: stretch; background: var(--card); border: 1px solid var(--brass); border-radius: 8px; padding: 16px; box-shadow: 0 0 0 6px var(--parchment), 0 0 0 7px var(--brass); margin: 7px; }
.stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--ink); cursor: crosshair; touch-action: none; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.lens { position: absolute; display: none; pointer-events: none; width: 220px; height: 220px; border-radius: 50%; border: 3px solid var(--brass); box-shadow: 0 0 0 2px var(--navy), 0 8px 22px rgba(15, 36, 64, 0.35); background-color: var(--parchment); background-repeat: no-repeat; z-index: 2; }
.hint { font-size: 15px; color: var(--brass-deep); font-style: italic; }
.hint .touch { display: none; }
.thumbs { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; margin: 0; list-style: none; }
.thumbs button { width: 88px; height: 88px; padding: 0; border: 1px solid var(--brass); border-radius: 4px; overflow: hidden; background: var(--card); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border: 2px solid var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { margin-top: -8px; padding-right: 108px; }

/* Mission */
.mission { background: var(--navy); color: var(--parchment); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); }
.mission .wrap { max-width: 820px; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.mission .eyebrow { color: var(--brass); font-size: 15px; }
.mission blockquote { margin: 0; font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; font-weight: 500; }

/* Why */
.why { padding: 80px 0; }
.why h2 { text-align: center; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--card); border-top: 2px solid var(--brass); border-radius: 0 0 8px 8px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 17px; }

/* Calls to action */
.ctas { padding: 0 0 96px; }
.ctas .wrap { display: flex; flex-wrap: wrap; gap: 24px; }
.cta { flex: 1 1 420px; border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-dark { background: var(--navy); color: var(--parchment); }
.cta-dark h2 { color: var(--brass); font-size: 32px; }
.cta-light { background: var(--card); border: 1px solid var(--brass); }
.cta-light h2 { font-size: 32px; }
.cta .btn { min-width: 0; padding: 11px 24px; }

/* Article pages (About, Privacy) */
.article { max-width: 720px; margin: 0 auto; padding: 56px var(--gutter) 80px; display: flex; flex-direction: column; gap: 28px; font-size: 20px; line-height: 1.7; }
.article .title-block { margin-bottom: 12px; }
.article h2 { font-size: 30px; margin-top: 16px; }
.note { margin-top: 24px; background: var(--card); border: 1px solid var(--brass); border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.note blockquote { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.35; font-style: italic; font-weight: 500; color: var(--navy); }
.note .sig { color: var(--brass-deep); }
.updated { color: var(--brass-deep); font-size: 16px; text-align: center; }

/* Contact */
.contact { max-width: 840px; margin: 0 auto; padding: 56px var(--gutter) 88px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.contact .title-block { max-width: 792px; }
.contact .title-block p { max-width: 600px; }
.contact .etsy-note { font-style: italic; color: var(--brass-deep); font-size: 19px; }
.form-card { align-self: stretch; background: var(--card); border: 1px solid var(--brass); border-radius: 8px; padding: 40px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font-family: var(--serif); font-size: 18px; padding: 10px 12px; border: 1px solid var(--brass-deep); border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.req { color: var(--brass-deep); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot small { font-size: 15px; color: var(--brass-deep); }
.form-error { grid-column: 1 / -1; color: #8B1E1E; font-size: 16px; }
.hp { position: absolute; left: -9999px; }

/* Simple centred pages (thank you, 404) */
.simple { min-height: 50vh; display: flex; align-items: center; justify-content: center; padding: 80px var(--gutter); }

/* Footer */
.site-footer { background: var(--navy); color: var(--parchment); border-top: 1px solid var(--brass); }
.footer-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; padding-top: 44px; }
.footer-top .brand .mark { width: 64px; height: 64px; }
.footer-top .brand .word { height: 30px; }
.follow { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.follow .eyebrow { color: var(--brass); font-size: 13px; white-space: nowrap; }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.social img { width: 40px; height: 40px; }
.footer-links { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 16px; }
.footer-links a { color: var(--parchment); }
.footer-bottom { margin-top: 28px; padding: 20px 0 30px; border-top: 1px solid rgba(168, 132, 70, 0.45); text-align: center; font-size: 14px; }
.footer-bottom .legal { display: block; font-size: 13px; opacity: 0.85; margin-top: 4px; }

/* Tablet and phone */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-self: center; align-items: center; flex-direction: row; gap: 20px; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  :root { --gutter: 16px; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .brand { gap: 8px; }
  .brand .mark { width: 44px; height: 44px; }
  .brand .word { height: 22px; }
  .nav { gap: 14px; font-size: 13px; letter-spacing: 0.06em; }
  .nav a { padding: 12px 0; }
  .hero { padding: 32px 0 40px; }
  .hero .wrap { gap: 20px; }
  .title-block p { font-size: 18px; }
  .gallery { flex-direction: column; gap: 10px; }
  .gallery-main { gap: 8px; }
  .hint { order: 3; }
  .thumbs { flex-direction: row; padding-top: 0; gap: 8px; align-self: center; }
  .thumbs button { width: 56px; height: 56px; }
  .frame { padding: 8px; margin: 5px; box-shadow: 0 0 0 4px var(--parchment), 0 0 0 5px var(--brass); }
  .lens { width: 140px; height: 140px; }
  .hint .mouse { display: none; }
  .hint .touch { display: inline; }
  .hero-actions { flex-direction: column; align-self: stretch; margin-top: 0; padding-right: 0; }
  .btn { width: 100%; }
  .mission .wrap { padding-top: 44px; padding-bottom: 44px; }
  .why { padding: 44px 0; }
  .why h2 { margin-bottom: 20px; }
  .cards { gap: 14px; }
  .card { padding: 20px; }
  .ctas { padding-bottom: 48px; }
  .ctas .wrap { gap: 14px; }
  .cta { padding: 24px 20px; flex-basis: 100%; }
  .cta-dark h2, .cta-light h2 { font-size: 26px; }
  .cta .btn { width: 100%; }
  .article { padding: 32px 20px 48px; font-size: 18px; gap: 20px; }
  .note { padding: 24px 20px; }
  .note blockquote { font-size: 22px; }
  .contact { padding: 32px var(--gutter) 48px; gap: 28px; }
  .form-card { padding: 24px 20px; }
  .form { grid-template-columns: 1fr; gap: 16px; }
  .form-foot .btn { width: 100%; }
  .footer-links { flex-direction: column; gap: 4px; }
  .social { gap: 8px; }
}
@media (hover: none) {
  .hint .mouse { display: none; }
  .hint .touch { display: inline; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
