@import url("fonts.css");

:root {
  --cream: #f3ecdf;
  --ink: #1c1917;
  --red: #a01623;
  --red-on-dark: #d2434d;
  --muted: #6b5d4f;
  --muted-on-dark: #b9ab97;
  --line: #d6c9b3;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.45;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; font-style: italic; line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { height: 30px; background: url("img/band.svg") repeat-x center / auto 100%; }
.dark .band, .band.on-dark { background-image: url("img/band-dark.svg"); }

.label {
  display: flex; align-items: center; gap: .7em;
  margin: 0 0 1.1em;
  font-family: var(--sans); font-weight: 600; font-size: .8rem; line-height: 1.2;
  letter-spacing: .24em; text-transform: uppercase; color: var(--red);
}
.label::before { content: ""; flex: none; width: 1.5em; height: 1.5em; background: url("img/diamond.svg") center / contain no-repeat; }
.dark .label { color: var(--red-on-dark); }
.dark .label::before { background-image: url("img/diamond-dark.svg"); }

/* header */
.site-header { padding: 22px 0 18px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wordmark { display: block; line-height: 0; }
.wordmark img { height: 52px; width: auto; }
.nav { display: flex; gap: clamp(16px, 3vw, 34px); flex-wrap: wrap; }
.nav a {
  font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0;
}
.nav a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--red); color: var(--cream);
  font-family: var(--sans); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 1.05em 1.9em; border-radius: 0;
  transition: background .15s;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.dark .btn:hover { background: var(--cream); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

section { padding: clamp(56px, 8vw, 104px) 0; }
.dark { background: var(--ink); color: var(--cream); }
.dark a:hover { color: var(--red-on-dark); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* studio home */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(3.4rem, 19vw, 13rem); font-weight: 600; font-style: italic; letter-spacing: -.02em; line-height: .9; margin-left: -.03em; }
.hero h1 b { color: var(--red); font-weight: 700; font-style: normal; margin-left: .03em; }
.hero .lead { max-width: 30em; font-size: 1.25em; line-height: 1.3; margin: 1.1em 0 0; }

.work-card { display: block; text-decoration: none; border: 1px solid var(--line); background: #f7f1e6; transition: border-color .15s; }
.work-card:hover { border-color: var(--ink); color: inherit; }
.work-card img { width: 100%; border-bottom: 1px solid var(--line); }
.work-card .body { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: end; padding: clamp(20px, 3vw, 34px); }
.work-card h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); }
.work-card p { margin: .5em 0 0; max-width: 34em; }
.meta { font-family: var(--sans); font-weight: 400; font-size: .85rem; letter-spacing: .04em; color: var(--muted); }
.more { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

.soon h2 { color: var(--red); }
.soon p { margin: 0; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.contact-list { list-style: none; margin: 1.4em 0 0; padding: 0; }
.contact-list li { padding: .9em 0; border-top: 1px solid rgba(243, 236, 223, .22); }
.contact-list li:last-child { border-bottom: 1px solid rgba(243, 236, 223, .22); }
.contact-list small { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: .25em; }
.contact-list a.wa { display: block; margin-top: .45em; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-on-dark); }
.contact-list a { font-size: 1.35em; font-style: italic; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

form .field { margin-bottom: 18px; }
form label { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 8px; }
form input, form textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid rgba(243, 236, 223, .5); border-radius: 0;
  background: rgba(243, 236, 223, .06); color: var(--cream);
  font-family: var(--sans); font-size: 1.05rem; line-height: 1.4; padding: 12px 14px;
}
form textarea { min-height: 9.5em; resize: vertical; }
form input:focus, form textarea:focus { outline: none; border-bottom-color: var(--red-on-dark); background: rgba(243, 236, 223, .1); }
.turnstile:not(:empty) { margin-bottom: 18px; min-height: 65px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-family: var(--sans); font-size: .82rem; line-height: 1.5; color: var(--muted-on-dark); margin: 16px 0 0; }
.form-status { font-family: var(--sans); font-size: 1rem; line-height: 1.45; margin: 0 0 18px; padding: 14px 16px; border-left: 3px solid var(--red-on-dark); background: rgba(243, 236, 223, .08); }
.form-status.ok { border-left-color: #8fbf8f; }
.form-status[hidden] { display: none; }

.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 0 0 34px; font-family: var(--sans); font-size: .82rem; letter-spacing: .04em; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 26px; }
.site-footer a { color: inherit; }
.credits { max-width: 60em; line-height: 1.6; }

/* IA event page */
.ia-hero { padding-top: clamp(28px, 5vw, 60px); }
.ia-hero .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 5vw, 64px); align-items: end; }
.ia-mark { font-weight: 700; font-style: normal; color: var(--red); font-size: clamp(9rem, 2rem + 27vw, 24rem); line-height: .74; letter-spacing: -.02em; margin: 0 0 0 -.03em; padding-bottom: .06em; }
.ia-hero h1 { font-weight: 500; font-size: clamp(2.6rem, 1.2rem + 5vw, 5.2rem); line-height: 1; padding-bottom: .22em; border-bottom: 2px solid var(--ink); margin-bottom: .4em; }
.ia-hero .lead { font-size: 1.12em; line-height: 1.32; margin: 0; }
.ia-hero .lead em { font-weight: 600; }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 5vw, 72px); padding: clamp(40px, 6vw, 76px) 0; border-top: 1px solid var(--line); }
.story:first-child { border-top: 0; }
.story p:last-child { margin-bottom: 0; }
.story .motif { width: clamp(72px, 9vw, 110px); margin-top: 1.4em; }
.stories { padding: 0; }

.timeline { list-style: none; margin: 1.6em 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 0 18px; padding: .8em 0; border-top: 1px solid rgba(243, 236, 223, .22); }
.timeline .year { font-size: 1.7em; font-weight: 600; line-height: 1; }
.timeline b { display: block; font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
.timeline div span { font-family: var(--sans); font-size: .9rem; color: var(--muted-on-dark); }
.fashion-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 22px); }
figure { margin: 0; }
figcaption { font-family: var(--sans); font-size: .78rem; line-height: 1.45; color: var(--muted-on-dark); margin-top: 9px; }
figcaption b { display: block; color: var(--cream); font-weight: 600; font-size: .86rem; }
figcaption a { color: inherit; }

.cta { text-align: center; }
.cta h2 { margin-bottom: .3em; }
.cta p { max-width: 32em; margin: 0 auto; }
.cta .actions { justify-content: center; }

/* plain message page (contact.php without JavaScript) */
.message-page { min-height: 70vh; display: grid; align-content: center; }

@media (max-width: 760px) {
  .contact-grid, .story, .fashion-grid { grid-template-columns: minmax(0, 1fr); }
  .ia-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ia-mark { line-height: .8; }
  .work-card .body { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
