/* Global palette and type */
:root {
  color-scheme: dark;
  --night: #101a22;
  --deep: #0a1117;
  --panel: #15232d;
  --paper: #f5f2eb;
  --muted: #c0c5c6;
  --blue: #1687d5;
  --blue-deep: #07599a;
  --sun: #db8a45;
  --line: rgba(245, 242, 235, 0.2);
  --display: Impact, "Arial Narrow", "Franklin Gothic Condensed", sans-serif;
  --body: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-width: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #78c8ff;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--deep);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--deep);
}

.header-logo {
  display: block;
  width: clamp(150px, 17vw, 220px);
  line-height: 0;
}

.header-logo img,
.footer-logo img {
  display: block;
  width: 60%; /*changed from 100%*/
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3.2vw, 3.2rem);
}

.site-navigation a {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-navigation a:hover,
.back-top:hover {
  color: #78c8ff;
}

.site-navigation .nav-contact {
  padding: 0.8rem 1rem;
  border: 1px solid var(--blue);
  background: rgba(22, 135, 213, 0.13);
}

.nav-contact span {
  margin-left: 0.45rem;
  color: #78c8ff;
}

.menu-toggle {
  display: none;
}

/* Atmospheric hero */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(680px, calc(100svh - 76px), 890px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 7vw, 6rem) 1.25rem 5.5rem;
  background: var(--deep) url("assets/florida-marsh-sunset.webp") center 58% / cover no-repeat;
  text-align: center;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 15, 21, 0.74), rgba(7, 15, 21, 0.38) 50%, rgba(7, 15, 21, 0.22)),
    linear-gradient(0deg, rgba(7, 15, 21, 0.86), transparent 25%, rgba(7, 15, 21, 0.28));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 13px;
  content: "";
  background: var(--blue);
  clip-path: polygon(0 42%, 14% 12%, 32% 54%, 52% 8%, 73% 55%, 100% 10%, 100% 70%, 76% 93%, 50% 64%, 25% 100%, 0 74%);
}

.hero-inner {
  width: min(100%, 1100px);
  margin: auto;
}

.hero-brand-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr) minmax(70px, 1fr);
  gap: clamp(0.7rem, 3vw, 2.5rem);
}

.hero-local {
  justify-self: end;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.4vw, 1.8rem);
  font-style: italic;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
}

.hero-local::after {
  display: block;
  width: 82%;
  height: 4px;
  margin: 0.55rem 0 0 auto;
  content: "";
  transform: rotate(-5deg);
  background: var(--blue);
}

.hero-logo {
  display: block;
  width: clamp(250px, 44vw, 540px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.hero-palm {
  display: block;
 /*width: clamp(54px, 6.5vw, 82px);*/
  max-width: 100%;
  height: auto;
  justify-self: start;
  object-fit: contain;
}

.hero-tagline,
.hero-motto {
  margin: 1rem 0 0;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(0.84rem, 2vw, 1.25rem);
}

.hero-tagline span {
  padding-inline: 0.4em;
  color: #78c8ff;
}

.hero-motto {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0 2.6rem 0.55rem;
  border-bottom: 2px solid rgba(245, 242, 235, 0.72);
  font-size: clamp(0.72rem, 1.7vw, 1rem);
  font-style: italic;
  letter-spacing: 0.25em;
}

.job-callout {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: clamp(1.6rem, 4vw, 3rem) auto 0.9rem;
  padding: 0.14em 0.42em 0.2em;
  transform: rotate(-1.5deg);
  background: var(--blue-deep);
  clip-path: polygon(1% 8%, 99% 0, 100% 78%, 96% 100%, 3% 92%, 0 24%);
  font-family: var(--display);
  font-size: clamp(3.2rem, 10.1vw, 8.8rem);
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1;
  text-shadow: 2px 3px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.hero-intro {
  margin: 1.35rem 0 1.5rem;
  color: var(--paper);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.55);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  font: 900 0.78rem var(--body);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--deep);
}

.button-light:hover {
  border-color: #78c8ff;
  background: #dceefa;
}

.hero-down {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-down span {
  width: 26px;
  height: 2px;
  background: #78c8ff;
}

/* Services */
.section-shell {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.services {
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.section-title {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.kicker {
  margin: 0;
  color: #78c8ff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title h2,
.contact h2 {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-title h2 span,
.contact h2 span {
  color: #78c8ff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem clamp(1rem, 3vw, 2.5rem) 1rem;
  text-align: center;
}

.service-item + .service-item {
  border-left: 1px solid var(--line);
}

.service-icon {
  display: flex;
  width: 100%;
  min-height: clamp(94px, 10vw, 116px);
  align-items: center;
  justify-content: center;
}

.service-icon img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(68px, 8.2vw, 86px);
  flex: none;
  object-fit: contain;
}

.service-item h3 {
  margin: 1.15rem 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-item p {
  max-width: 290px;
  min-height: 3em;
  margin: 0 auto 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.service-status {
  margin-top: auto;
  color: #78c8ff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-item-later .service-status {
  color: #c6b8a8;
}

/* Bold current availability strip */
.availability {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
  border-block: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(100deg, rgba(7, 17, 26, 0.95), rgba(13, 30, 43, 0.9)),
    var(--night);
  text-align: center;
}

.availability::before,
.availability::after {
  position: absolute;
  left: 50%;
  width: min(82vw, 940px);
  height: 7px;
  content: "";
  transform: translateX(-50%) rotate(-1.3deg);
  background: var(--blue);
  clip-path: polygon(0 38%, 18% 0, 39% 61%, 68% 12%, 100% 50%, 95% 100%, 59% 69%, 32% 100%, 8% 67%);
}

.availability::before {
  top: 1.1rem;
}

.availability::after {
  bottom: 1.1rem;
  transform: translateX(-50%) rotate(1deg);
}

.availability-inner {
  width: min(100%, 880px);
  margin-inline: auto;
}

.availability h2 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.availability-highlight {
  width: fit-content;
  max-width: 100%;
  margin: 0.45rem auto 0.8rem;
  padding: 0 0.35em;
  transform: rotate(-1deg);
  color: #78c8ff;
  font-family: var(--display);
  font-size: clamp(3rem, 8.8vw, 6.6rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.availability-inner > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Local story and fence-post artwork */
.about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 45%, rgba(22, 135, 213, 0.12), transparent 45%),
    var(--night);
}

.about-inner {
  position: relative;
  display: grid;
  width: min(100% - 2.5rem, 1040px);
  min-height: 480px;
  align-items: center;
  grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-inline: auto;
  padding-block: 4rem;
}

.about-art {
  display: grid;
  justify-items: center;
  align-items: end;
}

.fence-post {
  display: block;
  width: clamp(220px, 29vw, 350px);
  max-width: 100%;
  height: auto;
  align-self: end;
  justify-self: center;
  object-fit: contain;
  object-position: center bottom;
}

.about-copy {
  position: relative;
  padding-block: 2rem;
}

.about-palm {
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  right: 0;
  width: clamp(48px, 6vw, 74px);
  max-width: 22%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.about h2 {
  margin: 0.8rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-style: italic;
  letter-spacing: 0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.about h2 span {
  color: #78c8ff;
}

.about h2 .no-break {
  white-space: nowrap;
}

.about-copy > p:not(.kicker) {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #78c8ff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  padding-left: 0.4rem;
}

/* Contact and frontend-only estimate form */
.contact {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(4.5rem, 9vw, 7rem) max(1.25rem, calc((100vw - 1060px) / 2));
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(4, 13, 19, 0.3), rgba(12, 42, 63, 0.5)),
    var(--deep);
}

.contact-intro > p:not(.kicker) {
  max-width: 410px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.contact h2 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.estimate-form {
  display: grid;
  gap: 1rem;
}

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

.estimate-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(245, 242, 235, 0.28);
  border-radius: 0;
  background: #111e27;
  color: var(--paper);
  font: 400 0.95rem var(--body);
  letter-spacing: normal;
  text-transform: none;
}

.estimate-form textarea {
  min-height: 116px;
  resize: vertical;
}

.estimate-form input::placeholder,
.estimate-form textarea::placeholder {
  color: #aab4ba;
  opacity: 1;
}

.button-blue {
  width: fit-content;
  margin-top: 0.3rem;
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.button-blue:hover {
  background: var(--blue-deep);
}

.form-note {
  margin: 0;
  color: #c1c8cc;
  font-size: 0.8rem;
}

.form-note.is-visible {
  color: #a9ddff;
}

/* Footer */
.site-footer {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 1.8rem clamp(1.25rem, 5vw, 5rem) 1.2rem;
  background: #080e13;
}

.footer-logo {
  display: block;
  width: 155px;
  line-height: 0;
}

.site-footer > p,
.back-top {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-footer > p {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.back-top {
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #aab1b5;
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .header-logo {
    width: 165px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--paper);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem 1.25rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: var(--deep);
  }

  .site-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-navigation a {
    padding: 0.9rem 0;
  }

  .site-navigation .nav-contact {
    margin-top: 0.3rem;
    padding: 0.85rem;
    text-align: center;
  }

  .hero {
    min-height: min(790px, calc(100svh - 68px));
    min-height: max(680px, min(790px, calc(100svh - 68px)));
    padding-inline: 1rem;
    background-position: 64% 58%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 15, 21, 0.72), rgba(7, 15, 21, 0.42), rgba(7, 15, 21, 0.35)),
      linear-gradient(0deg, rgba(7, 15, 21, 0.88), transparent 30%, rgba(7, 15, 21, 0.25));
  }

  .hero-brand-row {
    grid-template-columns: minmax(64px, 0.8fr) minmax(0, 3fr) minmax(44px, 0.55fr);
    gap: 0.55rem;
  }

  .hero-logo {
    width: clamp(190px, 54vw, 350px);
  }

  .hero-local {
    font-size: clamp(0.78rem, 3vw, 1.05rem);
  }

  .hero-palm {
    width: clamp(40px, 12vw, 62px);
  }

  .hero-tagline {
    margin-top: 0.9rem;
    font-size: clamp(0.62rem, 2.5vw, 0.9rem);
    letter-spacing: 0.12em;
  }

  .hero-motto {
    padding-inline: 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .job-callout {
    font-size: clamp(3.1rem, 11vw, 5.5rem);
  }

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

  .service-item {
    min-height: 0;
    padding: 1.75rem 0.6rem;
  }

  .service-item + .service-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-icon {
    min-height: 100px;
  }



  .service-item p {
    min-height: 0;
  }

  .about-inner {
    min-height: 0;
    grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.3rem;
    padding-block: 3rem;
  }

  .fence-post {
    width: clamp(190px, 36vw, 280px);
    max-width: 100%;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 500px) {
  .hero {
    min-height: 720px;
    padding-top: 3.4rem;
    padding-bottom: 4.5rem;
    background-position: 69% 58%;
  }

  .hero-inner {
    width: 100%;
    min-width: 0;
  }

  .hero-brand-row {
    grid-template-columns: minmax(54px, 0.75fr) minmax(0, 3fr) minmax(36px, 0.5fr);
  }

  .hero-logo {
    width: clamp(170px, 60vw, 290px);
  }

  .hero-local {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .hero-palm {
    width: clamp(36px, 11vw, 48px);
  }

  .hero-tagline {
    max-width: 300px;
    margin-inline: auto;
    line-height: 1.8;
  }

  .hero-tagline span {
    padding-inline: 0.15em;
  }

  .hero-motto {
    font-size: 0.58rem;
  }

  .job-callout {
    font-size: clamp(2.8rem, 11.4vw, 4rem);
    transform: none;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .availability::before,
  .availability::after {
    width: 90vw;
  }

  .availability-highlight {
    font-size: clamp(2rem, 9.5vw, 2.5rem);
  }

  .about-inner {
    display: grid;
    width: min(100% - 3rem, 1040px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "art"
      "copy";
    row-gap: 0.8rem;
    padding-top: 2.3rem;
  }

  .about-art {
    grid-area: art;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
  }

  .fence-post {
    width: clamp(170px, 58vw, 250px);
    max-width: 100%;
    align-self: start;
    margin-left: -1rem;
  }

  .about-copy {
    grid-area: copy;
    min-width: 0;
    margin: 0;
    padding: 0 0 1.5rem;
  }

  .about-palm {
    position: static;
    width: 100px;/*width: 66px;*/
    max-width: 100%;
    align-self: center;
    justify-self: end;
  }

  .about h2 {
    max-width: 100%;
    font-size: clamp(18px, 6vw, 24px);
    letter-spacing: 0;
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: clamp(24px, 6vw, 32px);
  }

  .contact-intro,
  .estimate-form,
  .form-row,
  .estimate-form label {
    min-width: 0;
  }

  .contact h2 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .button-blue {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-logo {
    width: 138px;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .back-top {
    grid-column: 2;
    grid-row: 1;
  }
}

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