:root {
  color-scheme: light;
  --navy: #163347;
  --blue: #1e5267;
  --muted: #425c65;
  --mist: #edf7f7;
  --line: #cce2e3;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--navy); font: 1rem/1.6 "Segoe UI", Arial, sans-serif; background: #fcfefe; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
a { color: inherit; text-underline-offset: .24em; }
img { width: 100%; height: auto; display: block; }
a:focus-visible { outline: 3px solid #18869b; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; background: white; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 86px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.08rem; font-weight: 750; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
nav { display: flex; gap: 1.6rem; }
nav a { text-decoration: none; font-size: .89rem; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 52px; padding: .65rem 1.12rem; background: var(--navy); color: white; text-decoration: none; border-radius: 7px; font-size: .9rem; font-weight: 680; line-height: 1.35; text-align: center; }
.button:hover { background: var(--blue); }
.button.small { min-height: 41px; padding: .5rem .8rem; }
.hero { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: 62px 78px; }
.label { font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: .9rem; }
h1 { max-width: 11ch; font-size: clamp(3rem, 6.2vw, 6rem); font-weight: 710; line-height: .98; letter-spacing: -.069em; }
.intro { max-width: 38ch; margin-block: 1.35rem 1.5rem; font-size: 1.07rem; color: var(--muted); }
.hero-photo img { aspect-ratio: 5 / 4; object-fit: cover; background: var(--mist); border-radius: 44% 44% 10px 10px / 26% 26% 10px 10px; }
.hero-photo figcaption { display: flex; justify-content: space-between; align-items: start; gap: .5rem 1rem; flex-wrap: wrap; margin-top: .75rem; font-size: .77rem; color: var(--muted); }
.first { background: var(--mist); padding-block: 72px; }
.first-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
h2 { font-size: clamp(2.25rem, 4.65vw, 4.15rem); font-weight: 680; }
.first-grid p, .studio-heading p { margin-top: .8rem; max-width: 44ch; color: var(--muted); }
.first ol { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.first li { display: grid; grid-template-columns: 2.3rem 1fr; gap: .85rem; align-items: baseline; border-top: 1px solid var(--line); padding-block: 1.1rem; }
.first li::before { counter-increment: step; content: "0" counter(step); color: var(--blue); font-size: .84rem; font-weight: 700; }
.first li p { margin-top: .35rem; }
h3 { font-size: 1.35rem; }
.studio { padding-block: 72px; }
.studio-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.65rem; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photos img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; background: var(--mist); }
.photos .entry img { object-fit: contain; }
.photos figcaption { margin-top: .4rem; color: var(--muted); font-size: .86rem; }
.credit { display: inline-block; margin-top: .7rem; color: var(--muted); font-size: .77rem; }
.location { background: var(--navy); color: white; }
.location-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; padding-block: 64px; }
.location .label { color: #9adce1; }
address { margin-block: .9rem; font-style: normal; }
.route { font-size: .9rem; }
.schedule { border: 1px solid #72939e; padding: 1.5rem; border-radius: 10px; }
.schedule p { margin-block: .6rem 1rem; color: #e4f2f4; }
.button.light { color: var(--navy); background: #d9f3f1; }
.button.light:hover { background: white; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 30px; font-size: .82rem; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .hero, .first-grid { gap: 2rem; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .top { min-height: 71px; gap: .45rem; }
  .brand { gap: .35rem; font-size: .95rem; }
  .brand img { width: 36px; height: 36px; }
  nav { display: none; }
  .hero, .first-grid, .location-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 39px 46px; }
  h1 { font-size: clamp(3.1rem, 11vw, 4.5rem); }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .first, .studio, .location-grid { padding-block: 44px; }
  .studio-heading { display: block; }
  .photos { grid-template-columns: 1fr; }
}
