/* Omega Artists. Every colour is from the banner (the master).
   The banner's leather measures about #020D1D, so that is the ground;
   #0B1D30 is the lighter cloth, used only as a soft lamp-glow. */
:root {
  --navy: #0B1D30;
  --navy-deep: #020D1D;
  --silver: #CDC3B5;
  --silver-bright: #F5EEE3;
  --silver-shadow: #B3A99B;
  --rule: rgba(205, 195, 181, 0.85);
  --gutter: clamp(1rem, 5vw, 4.5rem);
  --space: clamp(7rem, 18vh, 13rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { background: var(--navy-deep); }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--silver-shadow);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.13rem, 0.35vw + 1.05rem, 1.3rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(205, 195, 181, 0.25); color: var(--silver-bright); }

h1, h2, h3, h4 { font-family: "Cinzel", "Trajan Pro", serif; font-weight: 400; color: var(--silver); margin: 0; line-height: 1.2; }
p { margin: 0 0 1.5em; max-width: 62ch; text-align: left; }
em { font-style: italic; color: var(--silver); }

/* Links: a silver line draws in on hover */
a {
  color: var(--silver);
  text-decoration: none;
  background-image: linear-gradient(var(--silver), var(--silver)), linear-gradient(rgba(179,169,155,0.35), rgba(179,169,155,0.35));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.7s var(--ease), color 0.4s;
  padding-bottom: 0.08em;
}
a:hover, a:focus-visible { color: var(--silver-bright); background-size: 100% 1px, 100% 1px; }
a.plain { background-image: linear-gradient(var(--silver), var(--silver)); background-size: 0% 1px; }
a.plain:hover, a.plain:focus-visible { background-size: 100% 1px; }
:focus-visible { outline: 1px solid var(--silver); outline-offset: 5px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy-deep); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* Double rule, the banner's own language */
.double-rule {
  display: block; height: 7px; width: 100%;
  border-top: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
}
.double-rule.short { width: 3.6rem; height: 6px; border-width: 1px; margin-top: 1.4rem; }

/* ---------- Header: hides on scroll down, returns on scroll up ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem var(--gutter);
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease);
}
.site-header.scrolled { background: rgba(2, 13, 29, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.site-header.hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 0.75rem; background: none; padding: 0; }
.brand img { width: 2.1rem; height: auto; display: block; }
.brand span { font-family: "Cinzel", serif; letter-spacing: 0.2em; font-size: 0.82rem; color: var(--silver); }
.site-header nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a { font-family: "Cinzel", serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; background-size: 0% 1px; background-image: linear-gradient(var(--silver), var(--silver)); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background-size: 100% 1px; color: var(--silver-bright); }

/* ---------- Hero ---------- */
/* Leather: the top heading and the footer of every page. The body between stays flat navy. */
.leather {
  position: relative; isolation: isolate;
  background: var(--navy-deep) url("assets/hero-still.jpg") center / cover no-repeat;
}
.leather::after { /* sinks the edges, as on the banner */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(2,13,29,0) 40%, rgba(2,13,29,0.55) 100%);
}
.leather-edge { position: relative; z-index: 1; }

.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-band { width: 100%; text-align: center; padding: 5rem 0 4rem; }
.hero-band .double-rule { transform-origin: center; }
.ornament { display: block; margin: 0 auto; color: var(--silver); }
.ornament.fleur { width: clamp(7.5rem, 13vw, 10.5rem); height: auto; }
.ornament.fleur.up { margin-bottom: -2px; }
.ornament.fleur.down { margin-top: -2px; transform: scaleY(-1); }
.ornament.lozenge { width: clamp(8rem, 14vw, 11rem); height: auto; margin: 1.3rem auto; }

.lockup { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.4vw, 2rem); padding: 0.6rem var(--gutter); }
.mark-wrap { position: relative; width: clamp(5.5rem, 11vw, 9rem); flex: none; }
.mark-wrap img { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.65)); }
.sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask: url("assets/mark-solid.png") center / 100% 100% no-repeat;
          mask: url("assets/mark-solid.png") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, rgba(245,238,227,0) 38%, rgba(245,238,227,0.9) 50%, rgba(245,238,227,0) 62%);
  background-size: 300% 100%; background-position: 100% 0;
  mix-blend-mode: screen;
}
.name-block { text-align: center; }
.hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 4.6rem); font-weight: 500; letter-spacing: 0.06em;
  background: linear-gradient(180deg, #F5EEE3 0%, #CDC3B5 42%, #B3A99B 58%, #CDC3B5 80%, #E4DBCD 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.7));
  white-space: nowrap; text-transform: uppercase;
}
.hero .tagline { margin: 0.15em 0 0; font-size: clamp(1.1rem, 2.3vw, 1.95rem); letter-spacing: 0.1em; color: var(--silver); max-width: none; text-align: center; }
.hero .lede { margin: 3.2rem auto 0; padding: 0 var(--gutter); max-width: 36rem; text-align: center; color: var(--silver-shadow); font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; width: 1px; height: 3.2rem; background: linear-gradient(var(--silver), rgba(205,195,181,0)); transform: translateX(-50%); opacity: 0.7; }

/* The opening: navy fades up from black, a sheen crosses the foil, the name letter-spaces in.
   Pure CSS, so it can never strand the page. Plays once per visit (see the head script). */
.curtain { display: none; }
html.intro .curtain { display: block; position: fixed; inset: 0; z-index: 90; background: #000; pointer-events: none; animation: curtain 1.1s ease-out 0.1s both; }
html.intro .sheen { animation: sheen 1.5s var(--ease) 0.75s both; }
html.intro .hero h1 { animation: spaceIn 1.5s var(--ease) 1.15s both; }
html.intro .hero .tagline { animation: fadeUp 1.1s var(--ease) 1.75s both; }
html.intro .hero-band .double-rule { animation: drawRule 1.6s var(--ease) 0.55s both; }
html.intro .ornament, html.intro .hero .lede, html.intro .site-header, html.intro .scroll-cue { animation: fade 1s ease 1.95s both; }
html.intro.skipped * { animation-duration: 0.01s !important; animation-delay: 0s !important; }
@keyframes curtain { from { opacity: 1; } to { opacity: 0; } }
@keyframes sheen { 0% { opacity: 1; background-position: 100% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0% 0; } }
@keyframes spaceIn { from { opacity: 0; letter-spacing: 0.4em; } to { opacity: 1; letter-spacing: 0.06em; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawRule { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* ---------- Sections: editorial grid ---------- */
main section { padding: var(--space) var(--gutter); position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem); max-width: 84rem; margin: 0 auto; }
.grid > .head { grid-column: 1 / span 4; }
.grid > .body { grid-column: 6 / span 6; }
.head h2 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: 0.24em; text-transform: uppercase; }
.head .kicker { display: block; font-family: "Cinzel", serif; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--silver-shadow); margin-bottom: 1.1rem; opacity: 0.75; }
.sticky { position: sticky; top: 7rem; }
.lead { font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.5; color: var(--silver); margin-bottom: 2.4em; }

.belief { margin: 0 0 3.2rem; }
.belief h3, .belief h4 { font-size: 1.12rem; letter-spacing: 0.1em; color: var(--silver); margin-bottom: 0.55rem; text-transform: none; font-variant: small-caps; }
.belief p { margin-bottom: 0; }
.belief p + p { margin-top: 1.2em; }

/* Statements: one line per screen, huge against small */
.statement { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; }
.statement h2 { font-size: clamp(2.6rem, 9.2vw, 8.6rem); letter-spacing: 0.04em; line-height: 1.04; color: var(--silver); text-transform: none; max-width: 14ch; margin: 0 auto; }
.statement .under { margin: 3.4rem auto 0; max-width: 34rem; }
.statement .under p { margin-left: auto; margin-right: auto; }

.statement h2.stacked { text-transform: uppercase; font-size: clamp(1.7rem, 6.6vw, 6.6rem); letter-spacing: 0.05em; max-width: none; }
.statement h2.stacked span { display: block; }

/* The 1919 epigraph */
.epigraph { margin: 3.2rem 0 3.4rem; padding: 0.4rem 0 0.4rem 1.8rem; border-left: 1px solid var(--rule); }
.epigraph p { font-style: italic; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.55; color: var(--silver); margin: 0; }

/* Pull quote spanning the width */
.pull { padding: var(--space) var(--gutter); }
.pull blockquote { margin: 0 auto; max-width: 84rem; }
.pull blockquote p { max-width: none; font-style: italic; font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.22; color: var(--silver); text-align: left; margin: 0; }
.pull blockquote p .indent { display: block; padding-left: clamp(0rem, 16vw, 18rem); }
.pull .double-rule { max-width: 84rem; margin: 0 auto; }
.pull .double-rule + blockquote { margin-top: 3.5rem; }
.pull blockquote + .double-rule { margin-top: 3.5rem; }

.pull-label { font-family: "Cinzel", serif; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--silver-shadow); max-width: 84rem; margin: 0 auto 2rem; }

/* The seal: a blind-stamp pressed into a leather panel */
.seal-panel {
  grid-column: 1 / span 5; position: relative; aspect-ratio: 1 / 1;
  background: var(--navy-deep) url("assets/hero-still.jpg") 50% 40% / 260% auto;
  box-shadow: inset 0 0 0 1px rgba(205,195,181,0.35), inset 0 0 0 7px var(--navy-deep), inset 0 0 0 8px rgba(205,195,181,0.35), 0 30px 80px rgba(0,0,0,0.5);
  display: grid; place-items: center;
}
.seal-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 45% 35%, rgba(11,29,48,0.55), rgba(2,13,29,0) 70%); }
.seal-panel svg { position: relative; width: 62%; height: auto; overflow: visible; }
.seal-text { grid-column: 7 / span 5; align-self: center; }
.seal-text h2 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: 0.06em; margin-bottom: 1.6rem; }

/* The work: a held breath */
.work { text-align: center; }
.omega-glyph { font-family: "Cinzel", serif; font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--silver); display: block; margin: 0 auto 2rem; }
.work p { margin: 0 auto; text-align: center; font-size: clamp(1.25rem, 1.8vw, 1.6rem); color: var(--silver); font-style: italic; }
.work h2 { font-size: 0.8rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--silver-shadow); margin-bottom: 3rem; }

/* Manifesto page */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--silver); transform-origin: 0 50%; transform: scaleX(0); }
.page-title { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 9rem var(--gutter) 4rem; }
.page-title h1 { font-size: clamp(2.4rem, 7vw, 6.4rem); letter-spacing: 0.08em; font-weight: 400; margin: 2rem 0; }
.page-title p { margin: 0 auto; text-align: center; color: var(--silver-shadow); font-style: italic; }
.closing { text-align: center; }
.closing p { margin: 0 auto; text-align: center; }

/* Footer */
.site-footer { padding: 0 var(--gutter) 3rem; color: var(--silver-shadow); font-size: 1rem; }
.site-footer > .double-rule { margin: 0 calc(-1 * var(--gutter)); width: auto; }
.site-footer.leather { background-position: center 35%; }
.footer-inner { max-width: 84rem; margin: 0 auto; padding-top: 5rem; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 2rem; row-gap: 2.5rem; align-items: start; }
.footer-mark { grid-column: 1 / span 4; }
.footer-mark img { width: 3.2rem; height: auto; display: block; margin-bottom: 1.2rem; }
.footer-mark p { margin: 0; font-family: "Cinzel", serif; font-size: 0.78rem; letter-spacing: 0.22em; color: var(--silver); }
.footer-links { grid-column: 6 / span 3; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-links a, .footer-contact a { font-family: "Cinzel", serif; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-contact { grid-column: 9 / span 4; }
.footer-contact a { text-transform: none; font-family: "EB Garamond", serif; font-size: 1.1rem; letter-spacing: 0.02em; }
.footer-contact p { margin: 0 0 0.6rem; }
.footer-small { max-width: 84rem; margin: 4rem auto 0; font-size: 0.85rem; opacity: 0.7; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Phones and small tablets */
@media (max-width: 860px) {
  .grid > .head, .grid > .body, .seal-panel, .seal-text { grid-column: 1 / -1; }
  .grid > .head { margin-bottom: 2.6rem; }
  .sticky { position: static; }
  .seal-panel { max-width: 26rem; width: 100%; justify-self: center; margin-bottom: 3.5rem; }
  .footer-mark, .footer-links, .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 0.7rem; padding: 0.9rem 1rem; }
  .site-header nav { justify-content: center; gap: 0.9rem 1.2rem; }
  .brand span { display: none; }
  .lockup { flex-direction: column; gap: 1.1rem; }
  .name-block { text-align: center; }
  .hero h1 { white-space: normal; }
  .hero-band { padding: 7.5rem 0 3rem; }
  .pull blockquote p .indent { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.intro .curtain { display: none; }
}
