/* Sweetgum Station — Nomad Fabrication */
:root {
  --ink: #1a241c;
  --muted: #4a5a4e;
  --leaf: #c45c28;
  --leaf-deep: #9a3f18;
  --canopy: #243528;
  --moss: #3d5a42;
  --paper: #f3efe6;
  --sand: #e6dfd2;
  --font: "Sora", system-ui, sans-serif;
  --display: "Literata", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, rgba(196, 92, 40, 0.08), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(61, 90, 66, 0.12), transparent 50%),
    var(--paper);
  min-height: 100vh;
}

a {
  color: var(--leaf-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 239, 230, 0.88);
  border-bottom: 1px solid rgba(36, 53, 40, 0.1);
}

.header-inner {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: var(--canopy);
}

.logo-mark {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.logo-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--leaf-deep);
}

.nav .nav-cta {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff !important;
  font-weight: 600;
}

.sgs-hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f3ea;
}

.sgs-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.sgs-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 36, 28, 0.15) 0%, rgba(26, 36, 28, 0.35) 45%, rgba(26, 36, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(26, 36, 28, 0.45) 0%, transparent 55%);
}

.sgs-hero__copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 7vw, 4rem);
  animation: sgs-rise 0.9s ease-out both;
}

.sgs-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0d8c4;
}

.sgs-brand {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sgs-headline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0d8c4;
}

.sgs-lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.9);
}

.sgs-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sgs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sgs-btn:hover {
  background: var(--leaf-deep);
  transform: translateY(-1px);
}

.sgs-btn--ghost {
  background: transparent;
  border-color: rgba(247, 243, 234, 0.55);
  color: #f7f3ea !important;
}

.sgs-btn--ghost:hover {
  background: rgba(247, 243, 234, 0.1);
}

.sgs-btn--dark-ghost {
  background: transparent;
  border-color: rgba(36, 53, 40, 0.35);
  color: var(--canopy) !important;
}

.sgs-section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.sgs-wrap {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.sgs-wrap--narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.sgs-h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 650;
  color: var(--canopy);
  line-height: 1.15;
}

.sgs-h3 {
  margin: 2rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
}

.sgs-prose {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.sgs-note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.sgs-rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.sgs-rate {
  padding: 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(36, 53, 40, 0.12);
  border-radius: 4px;
  animation: sgs-rise 0.7s ease-out both;
}

.sgs-rate:nth-child(2) {
  animation-delay: 0.12s;
}

.sgs-rate__price {
  margin: 0;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--leaf);
  line-height: 1;
}

.sgs-rate__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.15rem;
}

.sgs-rate__title {
  margin: 0.65rem 0 0.35rem;
  font-size: 1.1rem;
  color: var(--canopy);
}

.sgs-rate__body {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.sgs-amenities {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem 1rem;
}

.sgs-amenities li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}

.sgs-amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--leaf);
  transform: rotate(45deg);
}

.sgs-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 420px;
  background: var(--canopy);
  color: #f3efe6;
}

.sgs-band__media {
  min-height: 280px;
  overflow: hidden;
}

.sgs-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sgs-band__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.sgs-band .sgs-h2 {
  color: #f7f3ea;
}

.sgs-band .sgs-prose,
.sgs-band .sgs-note {
  color: rgba(243, 239, 230, 0.88);
}

.sgs-band a {
  color: #f0b48a;
}

.sgs-figure {
  margin: 0;
}

.sgs-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.sgs-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.sgs-contact {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1rem;
}

.sgs-contact div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(36, 53, 40, 0.12);
}

.sgs-contact dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
}

.sgs-contact dd {
  margin: 0;
  color: var(--ink);
}

.tiktok-panel {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(36, 53, 40, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.tiktok-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(36, 53, 40, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .sgs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--moss);
}

/* Form */
.form-page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.stay-form {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.stay-form .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stay-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--canopy);
}

.stay-form input,
.stay-form select,
.stay-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(36, 53, 40, 0.2);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.stay-form textarea {
  min-height: 120px;
  resize: vertical;
}

.stay-form .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(61, 90, 66, 0.12);
  color: var(--canopy);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: rgba(154, 63, 24, 0.12);
  color: var(--leaf-deep);
}

@keyframes sgs-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .sgs-band {
    grid-template-columns: 1fr;
  }

  .sgs-band__media {
    min-height: 240px;
    max-height: 320px;
  }

  .sgs-contact div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sgs-hero__copy,
  .sgs-rate {
    animation: none;
  }

  .sgs-btn:hover {
    transform: none;
  }
}
