:root {
  --ink: #18211f;
  --muted: #5e6864;
  --paper: #f7f2e8;
  --white: #fffdf8;
  --line: #d7d0c2;
  --brick: #8d3f2d;
  --ochre: #c99335;
  --green: #31594d;
  --blue: #183f57;
  --shadow: 0 18px 60px rgba(24, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Alegreya Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 6px 10px 6px 6px;
  background: rgba(24, 33, 31, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 253, 248, 0.24), 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.7);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(24, 33, 31, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 253, 248, 0.24), 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  border-radius: 999px;
  padding: 5px 7px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 253, 248, 0.16);
  outline: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 17, 15, 0.78) 0%, rgba(12, 17, 15, 0.5) 42%, rgba(12, 17, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 17, 15, 0.82) 0%, rgba(12, 17, 15, 0.08) 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: 148px clamp(18px, 6vw, 74px) 76px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 11vw, 142px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ochre);
  color: #17120a;
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.7);
  color: var(--white);
}

.intro,
.split-section,
.seo-section,
.popular-tour,
.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 74px);
}

.intro {
  align-items: end;
  background: var(--white);
}

.intro > p,
.popular-tour > p,
.split-copy p,
.inquiry p {
  color: var(--muted);
  font-size: 18px;
}

.popular-tour {
  position: relative;
  min-height: min(760px, 82vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.popular-tour .section-kicker {
  color: #e3b555;
}

.popular-image,
.popular-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.popular-image {
  object-fit: cover;
}

.popular-overlay {
  background:
    linear-gradient(90deg, rgba(12, 17, 15, 0.78), rgba(12, 17, 15, 0.36) 56%, rgba(12, 17, 15, 0.14)),
    linear-gradient(0deg, rgba(12, 17, 15, 0.78), rgba(12, 17, 15, 0.12) 66%);
}

.popular-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(68px, 9vw, 118px) clamp(18px, 6vw, 74px);
}

.popular-content p:not(.section-kicker) {
  color: rgba(255, 253, 248, 0.78);
  font-size: 21px;
}

.photo-gallery {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 74px);
  background: var(--white);
}

.gallery-heading {
  max-width: 920px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.gallery-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 1;
  box-shadow: 0 0 0 1px rgba(24, 33, 31, 0.08);
}

.gallery-card img,
.gallery-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card video {
  background: transparent;
}

.video-card video {
  object-fit: cover;
}

.chrysler-card img {
  object-position: 50% 24%;
}

.times-card img,
.video-card video {
  object-position: center;
}

.village-card img {
  object-position: center 62%;
}

.dumbo-card img {
  object-position: 50% 42%;
}

.subway-card img {
  object-position: center;
}

.sunset-card img {
  object-position: center;
}

.chinatown-card img {
  object-position: 54% 50%;
}

.gallery-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(24, 33, 31, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 253, 248, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.tour-card {
  min-height: 330px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper);
}

.tour-card:nth-child(2) {
  background: #edf1ec;
}

.tour-card:nth-child(3) {
  background: #f4eadb;
}

.tour-card:nth-child(4) {
  background: #e9efef;
}

.tour-card:nth-child(5) {
  background: #f8f4ec;
}

.icon {
  display: block;
  margin-bottom: 82px;
  color: var(--brick);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.tour-card p,
.steps span {
  color: var(--muted);
}

.split-section {
  background: var(--green);
  color: var(--white);
}

.split-section .section-kicker {
  color: #e3b555;
}

.split-copy p {
  color: rgba(255, 253, 248, 0.78);
}

.steps {
  display: grid;
  gap: 16px;
}

.steps div {
  display: grid;
  gap: 7px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
}

.steps strong {
  font-size: 20px;
}

.steps span {
  color: rgba(255, 253, 248, 0.72);
}

.quote-band {
  padding: clamp(70px, 12vw, 132px) clamp(18px, 10vw, 130px);
  background: var(--blue);
  color: var(--white);
}

.quote-band p {
  max-width: 980px;
  margin: 0;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.05;
}

.seo-section {
  align-items: start;
  background: var(--paper);
}

.nyc-photo {
  width: min(560px, 100%);
  margin: clamp(28px, 5vw, 52px) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.nyc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.seo-copy p {
  margin: 0;
}

.inquiry {
  align-items: start;
  background: var(--white);
}

form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

form .button {
  width: fit-content;
  border: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 74px);
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

footer a {
  color: rgba(255, 253, 248, 0.78);
  text-decoration: none;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(24, 33, 31, 0.76), rgba(24, 33, 31, 0.76)),
    url("assets/museenyc-hero.png") center / cover;
  color: var(--white);
}

.thanks-wrap {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 56px;
  padding: 32px clamp(18px, 6vw, 74px);
}

.thanks-brand {
  color: var(--white);
}

.thanks-panel {
  max-width: 760px;
}

.thanks-panel h1 {
  margin-bottom: 20px;
}

.thanks-panel p:not(.section-kicker) {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 21px;
}

@media (max-width: 980px) {
  .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .intro,
  .split-section,
  .seo-section,
  .popular-tour,
  .inquiry {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }

  nav {
    gap: 4px;
    padding: 6px 8px;
    font-size: 12px;
  }

  nav a {
    padding: 5px 4px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand {
    padding: 5px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 16px;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 17, 15, 0.82) 0%, rgba(12, 17, 15, 0.56) 56%, rgba(12, 17, 15, 0.18) 100%),
      linear-gradient(0deg, rgba(12, 17, 15, 0.86) 0%, rgba(12, 17, 15, 0.18) 68%);
  }

  .hero-content {
    width: 100%;
    padding: 84px 16px 26px;
  }

  .hero .eyebrow {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.38;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro,
  .split-section,
  .seo-section,
  .popular-tour,
  .inquiry,
  .photo-gallery {
    padding: 52px 16px;
  }

  h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .nyc-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tour-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .icon {
    margin-bottom: 34px;
  }

  .steps div {
    padding: 18px 0;
  }

  form {
    padding: 20px;
  }

  form .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 6px;
    padding-inline: 8px;
  }

  nav {
    gap: 1px;
    padding: 5px 6px;
    font-size: 11px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .hero-content {
    padding-inline: 14px;
  }

  .hero .eyebrow {
    font-size: 13px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 15px;
  }
}
