:root {
  color: #161713;
  background: #fff;
  font: 16px/1.5 Arial, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.hero {
  color: white;
  background: linear-gradient(180deg, #000b, transparent 29%, #0002 53%, #000c), #153643 url("assets/hero.webp") center / cover no-repeat;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 90px; gap: 20px; }
.brand, footer span:first-child { font-weight: 700; letter-spacing: .12em; text-decoration: none; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; }
.hero-content { display: flex; align-items: flex-end; flex: 1; padding-block: 20px 64px; }
.hero-copy img { margin-bottom: 24px; }
h1, h2, p { margin-top: 0; }
h1 { font-weight: 400; font-size: clamp(2.25rem, 4vw, 3.1rem); line-height: 1.1; margin-bottom: 14px; }
.hero-copy p { margin: 0; font-size: clamp(1.15rem, 2.3vw, 1.65rem); }
.registration-section { background: #f2f1ee; padding-block: clamp(38px, 4.8vw, 92px); }
.registration-layout {
  width: min(1680px, 90%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
  align-items: start;
  gap: clamp(20px, 2vw, 38px);
}
form { min-width: 0; scroll-margin-top: 24px; }
form:focus-visible { outline: 2px solid #25251f; outline-offset: 4px; }
form h2 { font-size: clamp(2rem, 3.3vw, 3.8rem); margin-bottom: clamp(20px, 1.4vw, 28px); }
form label { display: block; margin: 0 0 2px; font-size: clamp(1rem, 1.3vw, 1.55rem); }
form input, form select {
  border: 1px solid #bdbcb8;
  min-height: clamp(52px, 4.8vw, 90px);
  margin-bottom: clamp(17px, 1.4vw, 25px);
  width: 100%;
  min-width: 0;
  padding: 8px 12px;
  background: white;
  color: inherit;
  border-radius: 0;
  font-size: clamp(1rem, 1.2vw, 1.4rem);
}
.phone-row { display: grid; grid-template-columns: clamp(104px, 7vw, 126px) minmax(0, 1fr); }
.dial-picker {
  position: relative;
  display: grid;
  align-items: center;
  margin-bottom: clamp(17px, 1.4vw, 25px);
  border: 1px solid #bdbcb8;
  border-right: 0;
  background: #f4f4f4;
}
.dial-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  direction: ltr;
  white-space: nowrap;
  font-size: clamp(1rem, 1.2vw, 1.4rem);
}
.dial-display::after {
  content: "";
  border: 4px solid transparent;
  border-bottom: 0;
  border-top-color: #41413a;
}
.dial-flag { object-fit: contain; }
.dial-flag[hidden] { display: none; }
.dial-picker select {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.dial-picker:focus-within { outline: 2px solid #25251f; outline-offset: -2px; }
.phone-row input { border-left: 0; }
form button, .register-link { display: block; background: #161713; color: white; border: 0; padding: 11px 15px; text-align: center; text-decoration: none; }
form button { min-width: 150px; }
form p { font-size: .875rem; margin: 8px 0 0; }
.registration-map { min-width: 0; }
.registration-map iframe { display: block; width: 100%; height: clamp(440px, 40vw, 760px); border: none; background: #d0d0d0; }
.registration-map a { display: inline-block; margin-top: 10px; }
.intro, .wadi, .map, .gallery, .faq { margin-block: clamp(45px, 8vw, 106px); }
.intro-lead { max-width: 900px; font-size: clamp(1.5rem, 3.1vw, 2.5rem); line-height: 1.28; margin-bottom: 58px; }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(25px, 7vw, 96px); align-items: center; }
.feature img, .map img { width: 100%; }
.feature p, details p { color: #42443c; font-size: 1.12rem; margin-bottom: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.2; margin-bottom: 24px; }
.wadi img { grid-column: 2; grid-row: 1; }
.wadi div { grid-column: 1; grid-row: 1; }
.gallery-heading { display: flex; justify-content: space-between; gap: 16px; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-controls button { border: 1px solid #898a80; color: #161713; background: white; border-radius: 50%; width: 44px; height: 44px; font-size: 1.6rem; }
.gallery-track { display: flex; gap: 16px; scroll-snap-type: x mandatory; overflow-x: auto; }
.gallery-track img { scroll-snap-align: start; flex: 0 0 76%; aspect-ratio: 16 / 9; object-fit: cover; }
details { border-top: 1px solid #cbc9bd; padding: 16px 0; }
details p { margin-top: 8px; }
summary { cursor: pointer; }
.register-link { width: fit-content; margin-top: 24px; }
.hero-register { background: white; color: #161713; padding-inline: 28px; }
footer { padding-block: 28px; border-top: 1px solid #cbc9bd; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .hero { background-position: 45% center; }
  .masthead { min-height: 54px; }
  .brand { font-size: .84rem; }
  nav { gap: 10px; font-size: .875rem; }
  .feature { grid-template-columns: 1fr; }
  .hero-content { padding-block: 20px 42px; }
  .hero-copy img { width: 82px; margin-bottom: 8px; }
  h1 { margin-bottom: 5px; }
  .registration-layout { grid-template-columns: 1fr; }
  .registration-map iframe { height: 370px; }
  .intro-lead { margin-bottom: 26px; }
  .wadi img, .wadi div { grid-column: auto; grid-row: auto; }
  .gallery-track img { flex-basis: 90%; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
