/* ============================================================
   ETHERIDGE CONSTRUCTION LTD — Coming Soon Page
   Brand: teal #447878 / amber #c07830 / charcoal #1a2828
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  --teal:         #447878;
  --teal-dark:    #2e5555;
  --teal-darker:  #1e3838;
  --teal-light:   #5a9292;
  --teal-pale:    #eaf2f2;

  --amber:        #c07830;
  --amber-light:  #d4903e;

  --cream:        #f7f4ef;
  --white:        #ffffff;

  --charcoal:     #1a2828;
  --charcoal-mid: #243434;
  --slate:        #4a5c5c;
  --slate-light:  #7a8e8e;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Background ---- */
.cs-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.cs-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Dark gradient: strong bottom dark → less dark at top */
.cs-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 110%, rgba(26,40,40,.92) 0%, transparent 70%),
    linear-gradient(to top, rgba(26,40,40,.88) 0%, rgba(26,40,40,.55) 10%, rgba(26,40,40,.30) 100%);
}

/* SVG grain texture for depth */
.cs-bg__grain {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ---- Main layout ---- */
.cs-main {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1.5rem;
}

/* ---- Core content ---- */
.cs-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 720px;
  padding: 2rem 0;
}

.cs-logo {
  height: 147px;
  width: auto;
  display: block;
  margin: 0 auto 1.75rem;
  opacity: .95;
  filter: drop-shadow(0 0 18px rgba(0,0,0,.8)) drop-shadow(0 0 40px rgba(0,0,0,.6)) drop-shadow(0 2px 12px rgba(0,0,0,.5));
}

.cs-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cs-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,.3), 0 2px 12px rgba(0,0,0,.25), 0 0 30px rgba(0,0,0,.2);
  margin-bottom: 1.5rem;
}

.cs-heading em {
  font-style: italic;
  font-weight: 600;
  color: var(--teal-pale);
}

/* Decorative amber rule */
.cs-heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--amber);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

.cs-sub {
  font-family: var(--font-body);
  font-size: clamp(.95rem, 2.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0,0,0,.8), 0 2px 16px rgba(0,0,0,.7), 0 0 40px rgba(0,0,0,.6);
}

/* ---- Contact strip ---- */
.cs-contact {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 2rem;
  padding: 1.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,.01) 0%, rgba(255,255,255,.00) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0,0,0,.15),
    0 0 0 1px rgba(255,255,255,.03),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.cs-contact__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .01em;
  transition: color .2s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1);
}

.cs-contact__item:hover {
  color: var(--teal-pale);
  transform: translateY(-1px);
}

.cs-contact__item:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.cs-contact__item:active {
  transform: translateY(0);
}

.cs-contact__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal-light);
}

.cs-contact__item--social {
  display: flex;
  gap: .75rem;
  cursor: default;
}

/* ---- Social icon links ---- */
.cs-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  text-decoration: none;
  transition:
    color .2s cubic-bezier(.4,0,.2,1),
    background .2s cubic-bezier(.4,0,.2,1),
    border-color .2s cubic-bezier(.4,0,.2,1),
    transform .2s cubic-bezier(.4,0,.2,1);
}

.cs-social svg {
  width: 17px;
  height: 17px;
}

.cs-social:hover {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.cs-social:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.cs-social:active {
  transform: translateY(0);
}

/* ---- Responsive tweaks ---- */
@media (max-width: 480px) {
  .cs-logo { height: 44px; }
  .cs-contact { gap: .65rem 1.25rem; }
  .cs-contact__item { font-size: .82rem; }
}

@media (max-width: 700px) {
  .cs-contact__item--social { width: 100%; justify-content: center; }
}
