:root {
  --ink: #181815;
  --ink-soft: #706b61;
  --canvas: #e9e1d2;
  --cream: #f3eee4;
  --paper: #fffdf8;
  --accent: #567b84;
  --accent-soft: #9bb8bd;
  --accent-dark: #365961;
  --line: #ddd4c4;
  --night: #181815;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(135deg, #eee7da 0%, #e5dbc9 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(79, 67, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 67, 45, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  pointer-events: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 20px;
}

.experience-card {
  display: grid;
  grid-template-columns: clamp(230px, 15vw, 300px) minmax(0, 1fr);
  width: min(calc(100vw - 40px), 1920px);
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(87, 71, 42, 0.12);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(72, 57, 33, 0.17);
  animation: page-reveal 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(25px, 2.2vw, 38px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(9, 12, 12, 0.15) 0%, rgba(9, 12, 12, 0.48) 48%, rgba(9, 12, 12, 0.94) 100%),
    url("./assets/athens-background.png") 28% center / cover no-repeat;
}

.brand-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(86, 123, 132, 0.3), transparent 42%);
  content: "";
  pointer-events: none;
}

.brand-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
  content: "";
}

.brand-panel__top,
.brand-copy,
.location-mark {
  animation: content-rise 650ms ease both;
}

.brand-copy {
  animation-delay: 100ms;
  margin-top: auto;
}

.location-mark {
  animation-delay: 180ms;
}

.eyebrow,
.overline,
.brand-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
  color: #c4d6d9;
}

.brand-logo {
  display: block;
  width: min(100%, 205px);
  height: auto;
  filter: brightness(0) invert(1);
}

.brand-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--accent-soft);
}

.brand-kicker {
  margin-bottom: 10px;
  color: #c4d6d9;
}

.brand-copy h1 {
  max-width: 420px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 3.4vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.brand-description {
  max-width: 310px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.6;
}

.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-bottom: 7px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent-soft);
}

.brand-cta span {
  color: var(--accent-soft);
  font-size: 1rem;
  transition: transform 160ms ease;
}

.brand-cta:hover span {
  transform: translateX(4px);
}

.brand-cta:focus-visible {
  outline: 3px solid rgba(155, 184, 189, 0.42);
  outline-offset: 5px;
}

.location-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-mark span {
  color: var(--accent-soft);
  font-size: 0.9rem;
}

.content-panel {
  display: grid;
  grid-template-areas: "rates contact";
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: clamp(24px, 2.4vw, 44px);
  min-width: 0;
  min-height: 0;
  padding: clamp(30px, 3vw, 58px);
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 123, 132, 0.1), transparent 32%),
    var(--cream);
}

.rate-program {
  grid-area: rates;
  align-self: center;
  min-width: 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 28px;
  animation: content-rise 580ms 120ms ease both;
}

.overline {
  margin-bottom: 9px;
  color: var(--accent-dark);
}

.section-heading h2,
.contact-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.contact-heading > p:last-child {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.rate-program .overline {
  font-size: 0.72rem;
}

.rate-program .section-heading > p:last-child {
  font-size: 1rem;
}

.room-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.room-card {
  min-width: 0;
  padding: clamp(18px, 1.5vw, 24px);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(112, 91, 50, 0.15);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(47, 41, 31, 0.05);
  animation: content-rise 580ms 190ms ease both;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.room-card:nth-child(2) {
  animation-delay: 250ms;
}

.room-card:hover {
  border-color: rgba(86, 123, 132, 0.42);
  box-shadow: 0 14px 34px rgba(47, 41, 31, 0.09);
  transform: translateY(-2px);
}

.room-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.room-number {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(86, 123, 132, 0.18);
  border-radius: 50%;
}

.room-card h3 {
  margin: 1px 0 5px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.room-card h3 a {
  color: inherit;
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.room-card h3 a:hover {
  color: var(--accent-dark);
}

.room-card h3 a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.room-card__heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.room-card--rate-group .room-card__heading {
  margin-bottom: 18px;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0;
}

.room-features span {
  padding: 6px 9px;
  color: #5d584f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #f1ece2;
  border-radius: 999px;
}

.rate-table {
  overflow: hidden;
  border: 1px solid #e7dfd1;
  border-radius: 11px;
}

.rate-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.78);
}

.rate-period + .rate-period {
  border-top: 1px solid #e7dfd1;
}

.season,
.rate-dates {
  display: block;
}

.season {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.rate-dates {
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.rate-period strong {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
  white-space: nowrap;
}

.rate-period small {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
}

.rate-disclaimer {
  margin: 18px 3px 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.45;
}

.contact-section {
  position: relative;
  grid-area: contact;
  align-self: center;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 2.6vw, 46px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgba(86, 123, 132, 0.28), transparent 36%),
    var(--night);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(23, 23, 20, 0.16);
  animation: content-rise 580ms 290ms ease both;
}

.contact-section::after {
  position: absolute;
  right: -72px;
  bottom: -106px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(155, 184, 189, 0.24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.contact-heading .overline {
  color: var(--accent-soft);
}

.contact-heading h2 {
  font-size: clamp(2.1rem, 2.5vw, 3rem);
}

.contact-heading > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 13px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.form-field label span {
  color: var(--accent-soft);
}

.form-field input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  outline: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.form-field input:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(86, 123, 132, 0.24);
}

.turnstile-container {
  margin-top: 16px;
}

.form-status {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.66rem;
  line-height: 1.4;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: #a8d5ad;
}

.form-status[data-state="error"] {
  color: #f0ae9e;
}

.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 14px 17px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.submit-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.submit-button:hover {
  background: #6d929b;
  border-color: #6d929b;
}

.submit-button:hover svg {
  transform: translateX(3px);
}

.submit-button:disabled {
  color: rgba(255, 255, 255, 0.62);
  background: #52666a;
  border-color: #52666a;
  cursor: not-allowed;
  opacity: 0.68;
}

.submit-button:disabled:hover svg {
  transform: none;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:focus-visible {
  outline: 3px solid rgba(155, 184, 189, 0.38);
  outline-offset: 3px;
}

.form-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.62rem;
  line-height: 1.45;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes page-reveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale the desktop content, without changing the mobile type or layout. */
@media (min-width: 1161px) {
  html {
    font-size: clamp(16px, min(1.1vw, 2vh), 26px);
  }

  .page-shell {
    padding: 24px;
  }

  .experience-card {
    width: min(92vw, 2200px);
    grid-template-columns: clamp(210px, 14vw, 320px) minmax(0, 1fr);
  }

  .brand-panel {
    padding: clamp(24px, 1.5vw, 36px);
  }

  .brand-copy h1 {
    font-size: clamp(2rem, 2.25vw, 3rem);
  }

  .content-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
    gap: clamp(24px, 2vw, 44px);
    padding: clamp(28px, 2.1vw, 48px);
  }

  .section-heading {
    max-width: none;
  }

  .room-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .room-card--rate-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem;
  }

  .room-card--rate-group .room-card__heading {
    margin-bottom: 0;
  }

  .room-card h3 {
    font-size: 1.45rem;
    line-height: 1.08;
  }

  .rate-period {
    padding: 0.7rem;
  }

  .season {
    font-size: 0.82rem;
  }

  .contact-section {
    padding: 2rem;
  }

  .contact-heading h2 {
    font-size: 2.6rem;
  }

  .contact-heading > p:last-child {
    max-width: none;
    font-size: 1rem;
  }

  .form-grid {
    gap: 1rem 0.8rem;
  }

  .form-field label {
    font-size: 0.8rem;
  }

  .form-field input {
    height: 2.8rem;
    font-size: 1rem;
  }

  .submit-button {
    min-height: 3rem;
    font-size: 0.85rem;
  }

  .form-actions p,
  .form-status {
    font-size: 0.74rem;
  }
}

@media (min-width: 1680px) {
  .room-card--rate-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
  }
}

@media (max-width: 1160px) {
  .experience-card {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .content-panel {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 16px;
    padding: 22px;
  }

  .room-card {
    padding: 13px;
  }

  .room-features span {
    padding-inline: 6px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 0;
  }

  .experience-card {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand-panel {
    min-height: 260px;
    padding: 24px clamp(22px, 6vw, 48px);
    background-position: center 54%;
  }

  .brand-panel::after {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 4px;
  }

  .brand-panel__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .brand-logo {
    width: 160px;
  }

  .brand-copy h1 {
    font-size: clamp(2.7rem, 8vw, 4rem);
  }

  .brand-description {
    max-width: 440px;
    margin-top: 12px;
  }

  .brand-cta {
    margin-top: 14px;
  }

  .location-mark {
    display: none;
  }

  .content-panel {
    grid-template-areas:
      "contact"
      "rates";
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .contact-section {
    padding: clamp(24px, 5vw, 38px);
  }

  .contact-heading {
    max-width: 620px;
  }

  .room-list {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  body::before {
    display: none;
  }

  .brand-panel {
    min-height: 230px;
    padding: 20px;
  }

  .brand-panel__top {
    display: block;
  }

  .eyebrow {
    font-size: 0.56rem;
  }

  .brand-logo {
    width: 138px;
  }

  .brand-rule,
  .brand-kicker,
  .brand-description {
    display: none;
  }

  .brand-copy h1 {
    max-width: 330px;
    font-size: clamp(2.35rem, 11.5vw, 3.1rem);
  }

  .brand-cta {
    margin-top: 14px;
    font-size: 0.62rem;
  }

  .content-panel {
    gap: 16px;
    padding: 14px;
  }

  .contact-section {
    padding: 21px 18px;
    border-radius: 16px;
  }

  .contact-heading {
    margin-bottom: 16px;
  }

  .contact-heading h2 {
    font-size: 2rem;
  }

  .contact-heading > p:last-child {
    margin-top: 9px;
  }

  .form-grid {
    gap: 10px 8px;
  }

  .form-field input {
    height: 42px;
  }

  .rate-program {
    padding: 18px 4px 10px;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .room-list {
    grid-template-columns: 1fr;
  }

  .room-card {
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--wide {
    grid-column: auto;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .experience-card {
    min-height: 0;
  }

  .brand-description,
  .location-mark,
  .section-heading > p:last-child,
  .contact-heading > p:last-child {
    display: none;
  }

  .section-heading,
  .contact-heading {
    margin-bottom: 13px;
  }

  .room-features {
    margin-block: 9px;
  }

  .rate-disclaimer {
    margin-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
