/*
Theme Name: Grand Strand Start Here
Theme URI: https://grandstrandstarthere.com
Author: ThatWorx Web Services
Description: Premium coastal relocation authority theme for the Grand Strand.
Version: 1.2.0
Text Domain: grand-strand-start-here
*/

:root {
  --gssh-ink: #16383b;
  --gssh-teal: #167b80;
  --gssh-deep: #0c555b;
  --gssh-sea: #dff1ef;
  --gssh-sand: #f7f2e8;
  --gssh-white: #fff;
  --gssh-shadow: 0 18px 50px rgba(17, 68, 72, .13);
  --gssh-radius: 24px;
  --gssh-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--gssh-ink); background: #fbfdfc; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.gssh-wrap { width: min(calc(100% - 40px), var(--gssh-width)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 22px 0; color: #fff; }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-brand { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; text-decoration: none; letter-spacing: .01em; }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: .94rem; font-weight: 700; }
.site-nav a { text-decoration: none; }

.gssh-button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 24px; border: 2px solid transparent; border-radius: 999px; background: var(--gssh-teal); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.gssh-button:hover, .gssh-button:focus-visible { transform: translateY(-2px); background: var(--gssh-deep); box-shadow: 0 12px 28px rgba(12,85,91,.25); }
.gssh-button--ghost { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.12); backdrop-filter: blur(7px); }
.gssh-button--ghost:hover { background: #fff; color: var(--gssh-ink); }

.gssh-hero { position: relative; min-height: 760px; display: grid; place-items: center; overflow: hidden; color: #fff; background: #184f54; }
.gssh-hero__slides, .gssh-hero__slide, .gssh-hero::after { position: absolute; inset: 0; }
.gssh-hero__slide { opacity: 0; background-position: center; background-size: cover; transform: scale(1.035); transition: opacity 2.4s cubic-bezier(.4,0,.2,1), transform 8.5s ease-out; will-change: opacity, transform; }
.gssh-hero__slide.is-active { opacity: 1; transform: scale(1); }
.gssh-hero__slide--fallback { background: radial-gradient(circle at 75% 20%, rgba(97,190,188,.6), transparent 42%), linear-gradient(135deg,#0d4f56,#4e9998 60%,#d6bf98); }
.gssh-hero::after { content: ""; background: linear-gradient(90deg, rgba(7,38,42,.78) 0%, rgba(7,38,42,.5) 46%, rgba(7,38,42,.2) 100%), linear-gradient(0deg, rgba(7,38,42,.35), transparent 45%); }
.gssh-hero__content { position: relative; z-index: 2; width: min(calc(100% - 40px), var(--gssh-width)); padding: 150px 0 90px; }
.gssh-eyebrow { margin: 0 0 18px; font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.gssh-hero h1, .gssh-section-title { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.gssh-hero h1 { max-width: 780px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.8rem); }
.gssh-hero__lede { max-width: 640px; margin: 24px 0 32px; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.gssh-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.gssh-section { padding: clamp(74px, 9vw, 120px) 0; }
.gssh-section--sea { background: linear-gradient(160deg,#eef8f6,#fff 55%); }
.gssh-section--sand { background: var(--gssh-sand); }
.gssh-section-head { max-width: 760px; margin-bottom: 42px; }
.gssh-section-title { margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); }
.gssh-section-copy { margin: 18px 0 0; font-size: 1.08rem; }
.gssh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gssh-info-card { min-height: 220px; padding: 28px; border: 1px solid rgba(22,123,128,.12); border-radius: var(--gssh-radius); background: rgba(255,255,255,.92); box-shadow: var(--gssh-shadow); }
.gssh-info-card__number { color: var(--gssh-teal); font-weight: 900; letter-spacing: .12em; }
.gssh-info-card h3 { margin: 42px 0 8px; font-family: Georgia,serif; font-size: 1.55rem; }
.gssh-info-card p { margin: 0; color: #49676a; }

.gssh-lifestyle { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 600px; }
.gssh-lifestyle__image { min-height: 460px; background: linear-gradient(135deg,#9bc9c3,#e6d4b8); background-size: cover; background-position: center; }
.gssh-lifestyle__content { display: grid; align-content: center; padding: clamp(50px,8vw,110px); background: var(--gssh-ink); color: #fff; }

.gssh-area-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.gssh-area-card { position: relative; min-height: 430px; display: flex; align-items: end; overflow: hidden; border-radius: var(--gssh-radius); background: linear-gradient(145deg,#7cb5b2,#dcc5a2); background-position: center; background-size: cover; color: #fff; box-shadow: var(--gssh-shadow); text-decoration: none; }
.gssh-area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(8,48,52,.85),rgba(8,48,52,.08) 70%); }
.gssh-area-card__content { position: relative; z-index: 1; padding: 30px; }
.gssh-area-card__region { font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.gssh-area-card h3 { margin: 8px 0 0; font-family: Georgia,serif; font-size: 2rem; line-height: 1.1; }

.gssh-authority { max-width: 900px; text-align: center; margin-inline: auto; }
.gssh-authority p { font-size: clamp(1.15rem,2vw,1.45rem); }
.gssh-community-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.gssh-community-card { position: relative; min-height: 330px; display: flex; align-items: end; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg,#76aaa7,#dac29d); background-position: center; background-size: cover; color: #fff; text-decoration: none; box-shadow: var(--gssh-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.gssh-community-card:hover, .gssh-community-card:focus-visible { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(17,68,72,.2); }
.gssh-community-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(7,42,46,.94),rgba(7,42,46,.08) 75%); }
.gssh-community-card__content { position: relative; z-index: 1; display: grid; gap: 8px; padding: 24px; }
.gssh-community-card__region { font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.gssh-community-card strong { font-family: Georgia,serif; font-size: 1.65rem; line-height: 1.1; }
.gssh-community-card__content > span:last-child { color: rgba(255,255,255,.88); font-size: .9rem; line-height: 1.45; }
.gssh-centered-action { margin: 34px 0 0; text-align: center; }
.gssh-area-page { background: #fbfdfc; }
.gssh-area-hero { position: relative; min-height: 610px; display: flex; align-items: end; overflow: hidden; background: radial-gradient(circle at 80% 20%,#73aaa8,transparent 38%),linear-gradient(135deg,#103e43,#277c80 60%,#d7bd96); background-position: center; background-size: cover; color: #fff; }
.gssh-area-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(6,35,39,.88),rgba(6,35,39,.2) 72%); }
.gssh-area-hero__content { position: relative; z-index: 1; padding-top: 170px; padding-bottom: 76px; }
.gssh-area-hero h1 { max-width: 900px; margin: 0; font-family: Georgia,serif; font-size: clamp(3.4rem,8vw,7rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.gssh-area-hero__lede { max-width: 760px; margin: 24px 0 0; font-size: clamp(1.08rem,2vw,1.35rem); }
.gssh-area-hero--archive { min-height: 560px; }
.gssh-breadcrumb { display: inline-block; margin-bottom: 38px; color: rgba(255,255,255,.88); font-size: .86rem; font-weight: 800; text-decoration: none; }
.gssh-area-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(45px,8vw,100px); align-items: start; }
.gssh-area-main { max-width: 750px; }
.gssh-area-heading { margin: 0 0 22px; font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.gssh-area-main .gssh-area-heading:not(:first-of-type) { margin-top: 60px; }
.gssh-area-lead { font-size: 1.2rem; }
.gssh-area-facts { display: grid; gap: 8px; padding: 28px; border: 1px solid rgba(22,123,128,.15); border-radius: 22px; background: #fff; box-shadow: var(--gssh-shadow); }
.gssh-area-facts__label { margin-top: 13px; color: var(--gssh-teal); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.gssh-area-facts__label:first-child { margin-top: 0; }
.gssh-area-facts p { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #dce9e7; color: #536d70; font-size: .9rem; }
.gssh-area-editorial { margin-top: 48px; padding-top: 38px; border-top: 1px solid #d5e4e2; }
.gssh-check-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 36px; }
.gssh-check-grid div { padding: 24px 24px 24px 54px; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(17,68,72,.08); position: relative; }
.gssh-check-grid div::before { content: "✓"; position: absolute; left: 22px; color: var(--gssh-teal); font-weight: 900; }
.gssh-two-column { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(45px,8vw,100px); }
.gssh-area-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.gssh-area-list li { position: relative; padding: 0 0 16px 34px; border-bottom: 1px solid #d8e6e4; }
.gssh-area-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gssh-teal); font-weight: 900; }
.gssh-area-list--verify li::before { content: "?"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gssh-sand); font-size: .76rem; }
.gssh-compare-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gssh-compare-grid a { display: grid; gap: 8px; min-height: 240px; align-content: end; padding: 26px; border: 1px solid rgba(22,123,128,.14); border-radius: 20px; background: #fff; text-decoration: none; box-shadow: 0 12px 34px rgba(17,68,72,.08); transition: transform .2s ease; }
.gssh-compare-grid a:hover { transform: translateY(-4px); }
.gssh-compare-grid span { color: var(--gssh-teal); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.gssh-compare-grid strong { font-family: Georgia,serif; font-size: 1.7rem; }
.gssh-compare-grid small { color: #536d70; font-size: .9rem; line-height: 1.5; }
.gssh-source-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.gssh-source-grid a { display: grid; gap: 7px; padding: 22px; border: 1px solid rgba(22,123,128,.16); border-radius: 16px; background: #fff; text-decoration: none; }
.gssh-source-grid a:hover strong { color: var(--gssh-teal); }
.gssh-source-grid span { color: var(--gssh-teal); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.gssh-source-grid strong { line-height: 1.35; transition: color .2s; }
.site-footer { padding: 38px 0; background: #0b3438; color: #dcebea; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .gssh-grid { grid-template-columns: repeat(2,1fr); }
  .gssh-area-grid { grid-template-columns: 1fr; }
  .gssh-area-card { min-height: 340px; }
  .gssh-lifestyle { grid-template-columns: 1fr; }
  .gssh-lifestyle__content { order: -1; }
  .gssh-community-grid { grid-template-columns: repeat(2,1fr); }
  .gssh-area-layout { grid-template-columns: 1fr; }
  .gssh-area-facts { max-width: 600px; }
  .gssh-compare-grid { grid-template-columns: 1fr; }
  .gssh-source-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .gssh-wrap { width: min(calc(100% - 28px), var(--gssh-width)); }
  .site-nav a:not(.gssh-button) { display: none; }
  .site-nav .gssh-button { min-height: 42px; padding: 9px 15px; font-size: .82rem; }
  .gssh-hero { min-height: 700px; }
  .gssh-hero__content { width: min(calc(100% - 28px), var(--gssh-width)); padding-top: 132px; }
  .gssh-hero__slide { background-position: 62% center; }
  .gssh-actions { display: grid; }
  .gssh-grid { grid-template-columns: 1fr; }
  .gssh-info-card { min-height: auto; }
  .gssh-info-card h3 { margin-top: 24px; }
  .site-footer__inner { display: block; }
  .gssh-community-grid, .gssh-check-grid, .gssh-two-column { grid-template-columns: 1fr; }
  .gssh-source-grid { grid-template-columns: 1fr; }
  .gssh-community-card { min-height: 300px; }
  .gssh-area-hero { min-height: 560px; }
  .gssh-area-hero__content { padding-top: 145px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
