:root {
  --navy: #101d2c;
  --navy-light: #18283b;
  --gold: #e4c993;
  --gold-text: #80612e;
  --paper: #f9f6ef;
  --line: #dcd4c3;
  --serif: Georgia, 'Times New Roman', serif;
  font: 18px/1.55 system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(3.55rem, 9vw, 7.4rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.55rem, 6vw, 4.5rem); letter-spacing: -.045em; margin-bottom: .65em; }
h3 { font-size: clamp(1.65rem, 3.5vw, 2.6rem); letter-spacing: -.03em; margin-bottom: .36em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.header, .footer {
  background: var(--navy);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem clamp(18px, 5vw, 70px);
}
.brand { font: 1.45rem/1.1 var(--serif); white-space: nowrap; }
.brand i { color: var(--gold); }
nav { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: .96rem; }
nav a:hover { color: var(--gold); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: .7em 1em;
  min-height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 3px;
  font-weight: 650;
  font-size: .98rem;
  line-height: 1.3;
}
.button:hover { background: #f0daa9; }
.hero {
  color: white;
  background: linear-gradient(90deg, #0c1929e8, #0c192977 63%, #0c192947), url('assets/bosphorus.jpg') center 54%/cover;
  min-height: clamp(340px, 53vw, 610px);
  display: flex;
  align-items: center;
}
.hero-inner { width: min(100%, 1280px); margin: 0 auto; padding: 2.4rem clamp(18px, 5vw, 70px); }
.hero h1 { margin: .12em 0 .33em; }
.eyebrow { color: var(--gold-text); font-size: .84rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .package .eyebrow { color: var(--gold); }
.section { max-width: 1280px; margin: auto; padding: clamp(36px, 6vw, 82px) clamp(18px, 5vw, 70px) 0; }
.catalog, .coast, .included { display: grid; gap: 1.4rem; }
.catalog { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); padding: clamp(18px, 3vw, 42px); border: 1px solid var(--line); align-items: center; background: #fffdf8; }
.catalog .eyebrow, .package .eyebrow { margin-bottom: .55rem; }
.catalog-price { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.price { font: clamp(1.8rem, 4vw, 2.9rem)/1.12 var(--serif); }
.subprice { margin: .28rem 0 .85rem; }
.coast { grid-template-columns: 1fr 1fr; margin-top: 1.4rem; }
.coast article, .included article { padding-top: .9rem; border-top: 1px solid var(--line); }
.coast h3, .included h3 { font-size: 1.65rem; }
.package { display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--navy-light); overflow: hidden; }
.package img { display: block; width: 100%; height: 100%; object-fit: cover; }
.package-copy { padding: clamp(18px, 3.5vw, 48px); }
.package ul { padding-left: 1.25em; margin: 0 0 1rem; }
.package li::marker { color: var(--gold); }
.included { grid-template-columns: repeat(3, 1fr); }
.footer { margin-top: clamp(36px, 6vw, 82px); }
@media (max-width: 800px) {
  .header { flex-wrap: wrap; gap: .65rem; }
  .header nav { width: 100%; order: 2; }
  .header-action { display: none; }
}
@media (max-width: 620px) {
  .catalog, .coast, .included, .package { grid-template-columns: 1fr; }
  .catalog-price { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .package img { height: clamp(175px, 56vw, 285px); }
  .footer { flex-wrap: wrap; }
}

.yacht-gallery {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 760px;
}
.yacht-gallery__track {
  display: flex;
  aspect-ratio: 709 / 472;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 3px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  background: var(--navy);
}
.yacht-gallery__slide {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  scroll-snap-align: start;
}
.yacht-gallery__frame {
  position: relative;
  height: 100%;
  aspect-ratio: 709 / 472;
  overflow: hidden;
}
.yacht-gallery__frame--portrait { aspect-ratio: 709 / 944; }
.yacht-gallery__frame img {
  position: absolute;
  top: 50%;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}
.yacht-gallery__controls:not([hidden]) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: .65rem;
}
.yacht-gallery__controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}
.yacht-gallery__controls button:hover { background: var(--gold); }
.yacht-gallery__count { min-width: 7ch; text-align: center; font-variant-numeric: tabular-nums; }

.catalog + .catalog { margin-top: 1.4rem; }
.yacht-gallery--full-photo .yacht-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-summary { max-width: 41ch; margin-bottom: 1.4rem; }

.yacht-gallery--screenshots .yacht-gallery__track,
.yacht-gallery--screenshots .yacht-gallery__frame:not(.yacht-gallery__frame--portrait) {
  aspect-ratio: 709 / 398;
}

.included-istanbul { grid-column: 1 / -1; max-width: 72ch; }
.included-istanbul h4 { margin: 1rem 0 .25rem; }
.included-istanbul ol { margin: 0 0 1rem; padding-left: 1.5em; }

.yacht-gallery__slide > .yacht-gallery__frame--four-three { aspect-ratio: 709 / 532; }
.yacht-gallery--full-photo .yacht-gallery__frame--four-three img { height: auto; }

.extras { margin: 0; max-width: 52rem; }
.extras > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .2rem 1rem;
  align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}
.extras > div:first-child { border-top: 1px solid var(--line); }
.extras dd { margin: 0; font-weight: 650; white-space: nowrap; }
.extras-note { display: block; margin-top: .2rem; font-size: .9rem; }
@media (max-width: 480px) {
  .extras > div { grid-template-columns: 1fr; }
}

.package-cover { position: relative; min-height: 220px; overflow: hidden; }
.package-cover img { position: absolute; top: 50%; height: auto; transform: translateY(-50%); }
.package button.button { font-family: inherit; border: 0; cursor: pointer; }
.package-dialog {
  width: min(calc(100% - 24px), 780px);
  max-height: calc(100% - 28px);
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--navy);
  overscroll-behavior: contain;
}
.package-dialog::backdrop { background: #101d2cc9; }
.package-dialog h3 { padding-right: 48px; }
.package-dialog h4 { margin: 1rem 0 .25rem; }
.package-dialog ul { margin-top: 0; padding-left: 1.4rem; }
.package-dialog-close { float: right; }
.package-dialog-close button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}
.package-yacht-photo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 620px) {
  .package-cover { aspect-ratio: 16 / 9; min-height: 0; }
  .package-cover img { height: auto; }
}

.hero {
  min-height: clamp(480px, 55vw, 710px);
  background-image: linear-gradient(90deg, #0c1727ed, #0c17277d 63%, #0c172730), url('assets/bosphorus.jpg');
}
.hero-inner { padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 13ch; font-size: clamp(2.75rem, 7.5vw, 6.25rem); margin: 0 0 .3em; }
.hero-summary { font: clamp(1.35rem, 2.65vw, 2.2rem)/1.24 var(--serif); margin-bottom: 1.15rem; }
.hero-summary i { color: var(--gold); }
.hero-cities { color: var(--gold); margin-bottom: 1.35rem; }
.hero-cities span { margin-inline: .4em; opacity: .72; }
.coast .button { margin-top: 1rem; }
.menu-toggle { display: none; }
@media (max-width: 800px) {
  .header { padding-block: .5rem; }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .5em;
    padding: .4em .65em;
    border: 1px solid #e4c99365;
    border-radius: 3px;
    color: var(--gold);
    background: transparent;
    font: inherit;
    cursor: pointer;
  }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .header nav { padding-bottom: .5rem; }
  .header nav a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 620px) {
  .hero {
    min-height: max(470px, 72svh);
    align-items: end;
    background-position: 62% center;
    background-image: linear-gradient(180deg, #0c17271f 0%, #0c172795 45%, #0c1727f5 100%), url('assets/bosphorus.jpg');
  }
  .hero-inner { padding-block: 2.15rem; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 3.45rem); }
  .hero-cities { font-size: .88rem; }
  .catalog .button, .coast .button { width: 100%; }
  .section h2 { font-size: clamp(1.9rem, 8.1vw, 2.55rem); }
}

.package-intro { max-width: 55ch; margin: 0 0 1rem; }
