/* Cilla Adlercreutz Ideal Ateljé
   White, airy pages. The logo's gold and navy lines return as dividers,
   the curl as a small mark on labels. */
:root {
  --paper: #ffffff;
  --mist: #f4f5fb;
  --ink: #1d2740;
  --muted: #56607c;
  --navy: #173a78;
  --navy-dark: #10295a;
  --peri: #5a63a6;
  --peach: #e3c99c;
  --line: #e3e6f2;
  --ok: #1f6b45;
  --warn: #8a4b0f;
  --error: #a3262a;

  --display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step-0: 1.125rem;
  --step-1: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
  --step-2: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-3: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem);
  --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-color: color-mix(in srgb, var(--peri) 55%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--navy); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-3); letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 600; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0; max-width: 62ch; }
.prose { display: grid; gap: 1rem; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 46rem; }

.label { display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--peri); margin: 0; }
.curl { width: 1.35rem; height: 1.35rem; flex: none; color: var(--peri); }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 0.7rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { height: 2.4rem; width: auto; }
.brand span { font-family: var(--display); font-size: 1.45rem; font-weight: 500; color: var(--navy); white-space: nowrap; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.top nav a { font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding-block: 0.25rem; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--peri); }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--navy); color: var(--paper); text-decoration: none; font: 600 1rem var(--body); padding: 0.8rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer; min-height: 44px; }
.button:hover { background: var(--navy-dark); }
.button.ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.button.ghost:hover { background: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.hero > * { min-width: 0; }
.hero-text { display: grid; gap: 1.5rem; justify-items: start; }
.lede { font-size: 1.2rem; color: var(--muted); }
.piece { margin: 0; justify-self: center; width: min(100%, 24rem); display: grid; gap: 0.75rem; }
.piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }

.arc { display: block; width: min(15rem, 60%); height: auto; margin: 0 auto; }
section { padding-block: var(--section); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head p:not(.label) { color: var(--muted); }

/* featured event */
.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--mist); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2.5rem); }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.feature .body { display: grid; gap: 1rem; justify-items: start; }
.days { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.days li { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.8rem; font-size: 0.95rem; line-height: 1.35; }
.days b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--navy); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
figure { margin: 0; display: grid; gap: 0.75rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--mist); }
figcaption { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--muted); line-height: 1.3; }

/* course list */
.courses { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.course { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.course img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.course .body { display: grid; gap: 0.75rem; align-content: start; justify-items: start; }
.price { font-weight: 700; color: var(--navy); }
.price small { font-weight: 500; color: var(--muted); font-size: 0.95rem; }
.occ-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; width: 100%; }
.occ-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; font-size: 1rem; padding-block: 0.35rem; border-bottom: 1px dashed var(--line); }
.free { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ok); white-space: nowrap; }
.free.low { color: var(--warn); }
.free.full { color: var(--error); }
.info-box { background: var(--mist); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.75rem; }

/* course page */
.course-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.course-page .main { display: grid; gap: 1.5rem; }
.course-page .main > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font-size: 1rem; }
.facts b { color: var(--navy); }

/* booking form */
.book { position: sticky; top: 5.5rem; border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; background: var(--paper); box-shadow: 0 1px 2px rgba(23, 58, 120, 0.05); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; min-width: 0; }
legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; padding: 0; }
.choice { display: flex; gap: 0.75rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 0.9rem; cursor: pointer; font-size: 1rem; line-height: 1.4; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.choice:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.choice input { margin-top: 0.25rem; accent-color: var(--navy); flex: none; }
.choice .sub { display: block; font-size: 0.85rem; color: var(--muted); }
.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid #c5cadf; border-radius: 6px; padding: 0.6rem 0.75rem; width: 100%; min-height: 44px;
}
textarea { min-height: 5rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.45; }
.check input { margin-top: 0.25rem; accent-color: var(--navy); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 1rem; font-weight: 700; }
.total span:last-child { font-family: var(--display); font-size: 1.6rem; color: var(--navy); }
.alert { border-radius: 8px; padding: 0.8rem 1rem; font-size: 1rem; }
.alert.error { background: #fbeeee; color: var(--error); border: 1px solid #efc9ca; }
.alert.ok { background: #ecf6f0; color: var(--ok); border: 1px solid #c4e2cf; }
.alert.info { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.small { font-size: 0.9rem; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 20rem) 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about > * { min-width: 0; }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; border-radius: 10rem 10rem 6px 6px; }
.story { display: grid; gap: 1.2rem; }
.cv { list-style: none; margin: 0; padding: 0; display: grid; }
.cv li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.25rem; padding-block: 0.85rem; border-top: 1px solid var(--line); font-size: 1.05rem; }
.cv li:last-child { border-bottom: 1px solid var(--line); }
.cv .yr { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; line-height: 1.45; }

/* visit */
.visit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.visit > * { min-width: 0; }
.visit address { font-style: normal; font-family: var(--display); font-size: var(--step-1); line-height: 1.45; }
.contact { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact div { display: grid; gap: 0.1rem; }
.contact .k { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peri); }
.contact .v { font-size: 1.2rem; overflow-wrap: anywhere; }
.side-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }

footer { border-top: 1px solid var(--line); margin-top: var(--section); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; padding-block: 2.5rem 3rem; color: var(--muted); font-size: 0.95rem; }
.foot-id { display: flex; align-items: center; gap: 1rem; }
.foot-logo { height: 3.3rem; width: auto; flex: none; }
.foot-text { display: grid; gap: 0.2rem; line-height: 1.4; }
footer .sig { font-family: var(--display); font-size: 1.25rem; color: var(--navy); }

.page { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); display: grid; gap: 1.5rem; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit, .course-page, .feature { grid-template-columns: 1fr; }
  .book { position: static; }
}
@media (max-width: 720px) {
  .hero, .about, .course { grid-template-columns: 1fr; }
  .piece { width: min(100%, 21rem); }
  .portrait { max-width: 16rem; }
  .cv li { grid-template-columns: 1fr; gap: 0.1rem; }
  .top nav { flex-wrap: nowrap; gap: 1.1rem; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .top nav a { font-size: 0.9rem; white-space: nowrap; }
  .brand img { height: 2rem; }
}
[hidden] { display: none !important; }
