/* una corda LONDON
   Layout: one page on paper, cut like film. The deep rest is the single dark room. */
:root {
  --paper: #F3EEE5;
  --band: #EAE2D5;
  --night: #0E0D0C;
  --ink: #26221E;
  --ivory: #F4F0E8;
  --gold: #C6A97C;
  --bronze: #8A6A45;
  --bronze-deep: #6B5335;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5.5vw, 72px);
  --measure: 34rem;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 6.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.6rem, 4.4vw, 2.1rem); line-height: 1.1; }
:focus-visible { outline: 2px solid var(--bronze-deep); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--ink); color: var(--ivory); padding: 10px 14px; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.dark { color: var(--ivory); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: 500 1rem/1.2 var(--text);
  color: var(--ivory); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dark .btn { background: var(--gold); border-color: var(--gold); color: var(--night); }
.dark .btn:hover { background: var(--ivory); border-color: var(--ivory); }

/* Header */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.top .logo img { width: clamp(168px, 44vw, 230px); height: auto; }
.top nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 28px; }
.top nav a { font-size: .95rem; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.top .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
@media (min-width: 900px) {
  .top nav ul { display: flex; align-items: center; }
  .top .btn { display: none; }
  .top nav li:last-child a { border: 1px solid var(--ink); padding: 10px 18px; }
  .top nav li:last-child a:hover { background: var(--ink); color: var(--ivory); text-decoration: none; }
}

/* Opening */
.open { padding-block: clamp(8px, 3vw, 32px) clamp(64px, 10vw, 128px); }
.open h1 {
  font-weight: 300;
  font-size: clamp(2.9rem, 11.5vw, 7rem);
  line-height: .96;
  letter-spacing: -0.02em;
  max-width: 11ch;
}
.open h1 em { font-style: italic; font-weight: 300; }
.open .lede { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.5; margin-top: 1.3em; max-width: 31rem; }
.open .where { margin-top: .9em; color: var(--bronze-deep); }
.open .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
@media (min-width: 900px) {
  .open .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .open .lede { margin-top: 0; }
}

/* The logo arrives quietly: the rings fade in, the string is drawn, the name follows */
.mark-intro {
  display: grid; justify-items: center; gap: clamp(4px, 1.2vw, 12px);
  width: 100%; margin: 0 0 clamp(36px, 7vw, 80px); padding: 0;
  background: none; border: 0; cursor: pointer; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.mark-intro svg { width: min(100%, 620px); height: auto; overflow: visible; }
.mark-intro .word { width: min(62%, 330px); height: auto; }
.mark-intro .ring { fill: none; stroke: var(--bronze); stroke-width: 2.6; }
.mark-intro .string { fill: none; stroke: url(#string); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1.02; }
.mark-intro.play .ring { animation: appear 2.4s ease both; }
.mark-intro.play .r2 { animation-delay: .25s; }
.mark-intro.play .r3 { animation-delay: .5s; }
.mark-intro.play .r4 { animation-delay: .75s; }
.mark-intro.play .string { animation: string 2.6s cubic-bezier(.45,0,.25,1) .9s both; }
.mark-intro.play .word { animation: appear 2s ease 2.4s both; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes string { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }

/* Sections on paper */
.sec { padding-block: clamp(64px, 10vw, 128px); }
.rule { border-top: 1px solid rgba(38,34,30,.18); }
.sec > .wrap > h2 { max-width: 16ch; }
.sec .intro { margin-top: 1.2em; font-size: 1.125rem; }

/* Film stills */
figure { margin: 0; }
.still img { width: 100%; height: auto; background: var(--band); }
.still.wide img { aspect-ratio: 2.39 / 1; object-fit: cover; }
.still.tall img { aspect-ratio: 4 / 5; object-fit: cover; }
figcaption { margin-top: 10px; font-size: .875rem; color: var(--bronze-deep); }
.dark figcaption { color: var(--gold); }

/* Difference */
.diff .still { margin-top: clamp(32px, 6vw, 64px); }
.diff .three { display: grid; gap: 32px; margin-top: clamp(32px, 6vw, 64px); }
.diff .three h3 { margin-bottom: .45em; }
@media (min-width: 800px) { .diff .three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.forwho { margin-top: clamp(48px, 8vw, 96px); display: grid; gap: 20px; }
.forwho h3 { font-style: italic; }
@media (min-width: 800px) { .forwho { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; } }

/* The four movements. Clean cuts: the deep rest is the one dark room. */
.mv { padding-block: clamp(64px, 10vw, 128px); }
.mv .wrap { display: grid; gap: 32px; }
.mv .mark { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-size: 1.35rem; }
.mv .mark i { color: var(--bronze-deep); }
.dark .mark i { color: var(--gold); }
.mv h3 { font-size: clamp(2.3rem, 8vw, 4.2rem); line-height: 1; margin: .15em 0 .5em; }
.mv .still.tall { max-width: 420px; }
@media (min-width: 860px) {
  .mv .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
  .mv.flip .txt { order: 2; }
  .mv .still.tall { justify-self: end; }
  .mv.flip .still.tall { justify-self: start; }
  .mv4 .wrap { grid-template-columns: 1fr; }
}
.mv-head { padding-bottom: 0; }
.mv2 { background: var(--night); }

/* Before you come */
.before .cols { display: grid; gap: 36px; margin-top: clamp(28px, 5vw, 56px); }
.before h3 { margin-bottom: .5em; }
.before ul { margin: 0; padding: 0; list-style: none; max-width: var(--measure); }
.before li { padding: 12px 0; border-top: 1px solid rgba(38,34,30,.18); }
.before li:last-child { border-bottom: 1px solid rgba(38,34,30,.18); }
@media (min-width: 800px) { .before .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }
.before .still { margin-top: clamp(40px, 7vw, 80px); }

/* Sessions */
.formats { display: grid; gap: 0; margin-top: clamp(28px, 5vw, 56px); border-top: 1px solid var(--ink); }
.format { display: grid; gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid rgba(38,34,30,.18); }
.format .len { font-family: var(--display); font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
.format .len small { font-family: var(--text); font-size: .95rem; color: var(--bronze-deep); margin-left: 6px; }
.format h3 { font-size: 1.5rem; font-style: italic; }
.format a { font-weight: 500; }
@media (min-width: 800px) {
  .format { grid-template-columns: 13rem minmax(0, 1fr) auto; align-items: baseline; }
  .format h3 { grid-column: 2; grid-row: 1; }
  .format > p:not(.len) { grid-column: 2; grid-row: 2; }
  .format a { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .format .len { grid-column: 1; grid-row: 1 / span 2; }
}
.sessions .fine { margin-top: 1.6em; color: var(--bronze-deep); }

/* Hire */
.hire { background: var(--band); }
.hire .grid { display: grid; gap: 36px; }
.hire dl { margin: 1.8em 0 0; max-width: var(--measure); }
.hire dt { font-family: var(--display); font-style: italic; font-size: 1.35rem; margin-top: 1.1em; }
.hire dd { margin: .2em 0 0; }
.hire .btn { margin-top: 2em; }
.hire .still { max-width: 400px; }
@media (min-width: 860px) { .hire .grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: start; } .hire .still { justify-self: end; } }

/* Questions */
.faq .list { margin-top: clamp(28px, 5vw, 56px); border-top: 1px solid var(--ink); max-width: 46rem; }
.faq details { border-bottom: 1px solid rgba(38,34,30,.18); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px 0; min-height: 48px;
  font-family: var(--display); font-size: clamp(1.3rem, 4vw, 1.6rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-size: 1.3rem; color: var(--bronze-deep); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; }

/* Booking */
.book { background: var(--ink); }
.book .grid { display: grid; gap: 40px; }
.book ol { list-style: none; margin: 1.8em 0 0; padding: 0; counter-reset: s; max-width: 26rem; }
.book ol li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; padding: 12px 0; border-top: 1px solid rgba(244,240,232,.2); }
.book ol li::before { content: counter(s); font-family: var(--display); font-size: 1.5rem; line-height: 1.1; color: var(--gold); }
.book .mail { margin-top: 1.8em; }
.book .mail span { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--gold); user-select: all; }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
label, legend { font-size: .95rem; font-weight: 500; }
label small { font-weight: 400; opacity: .75; }
input[type=text], input[type=email], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1.0625rem/1.4 var(--text); color: var(--ivory);
  background: rgba(244,240,232,.06);
  border: 1px solid rgba(244,240,232,.45); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C6A97C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
select option { background: var(--ink); color: var(--ivory); }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.check label { font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; min-height: 1.6em; }
.status.error { color: #F0C2AE; }
@media (min-width: 860px) { .book .grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; } }

/* Footer */
.foot { background: var(--night); padding-block: 44px calc(44px + 76px); font-size: .95rem; }
.foot .wrap { display: grid; gap: 22px; }
.foot img { width: 200px; height: auto; }
.foot p { color: rgba(244,240,232,.78); max-width: 30rem; }
@media (min-width: 900px) { .foot { padding-block: 56px; } .foot .wrap { grid-template-columns: 1fr auto; align-items: end; } }

/* Phone: booking stays one tap away */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--paper); border-top: 1px solid rgba(38,34,30,.2);
  transition: transform .25s;
}
.dock .btn { width: 100%; }
.dock.away { transform: translateY(110%); }
@media (min-width: 900px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark-intro.play * { animation: none !important; }
  .dock, .btn { transition: none; }
}
