/* Sarasota Remodeling & Design - homepage concept
   Design language: Classic Authority (type, spacing, composition, motion only)
   Palette: extracted from sarasotaremodeling.com (their Divi custom CSS + logo)
   No em dashes anywhere, including comments. */

:root {
  /* Their colors */
  --ink:          #0d232d;   /* their display heading + button color */
  --navy:         #1f2937;   /* their header, footer and logo background */
  --navy-2:       #273240;   /* navy lifted one step, same family */
  --bronze:       #ae8f73;   /* their accent: icons, links, accent headings */
  --bronze-deep:  #7d6249;   /* their bronze deepened for small text on cream, 4.9:1 */
  --bronze-bright:#c9a983;   /* their bronze lifted for text on navy, 6.6:1 */
  --bronze-muted: rgba(174, 143, 115, 0.3);
  --cream:        #f3eee8;   /* their section background */
  --cream-2:      #ece4da;   /* cream deepened one step, same family */
  --white:        #ffffff;

  /* Text */
  --text-dark:    #0d232d;
  --text-body:    #3d4753;
  --text-light:   rgba(255, 255, 255, 0.78);
  --text-light-muted: rgba(255, 255, 255, 0.55);

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container:    min(90%, 1100px);
  --container-wide: min(94%, 1240px);
  --nav-height:   76px;

  /* Motion: restrained, Material standard */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin-inline: auto; }
.container-wide { width: var(--container-wide); margin-inline: auto; }

/* ---------- Shared type ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before,
.eyebrow.eyebrow--rule-both::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--bronze);
}
.on-dark .eyebrow { color: var(--bronze-bright); }
.on-dark .eyebrow::before,
.on-dark .eyebrow--rule-both::after { background: var(--bronze); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: 0.005em;
}
.on-dark .section-title { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; font-weight: 300; font-size: 1.02rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.02rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn .btn__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__dot { transform: scale(1.5); }

.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--navy-2); }

.btn--ghost { border-color: rgba(13, 35, 45, 0.35); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(13, 35, 45, 0.05); }

.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--bronze { background: var(--bronze); color: var(--ink); }
.btn--bronze:hover { background: var(--bronze-bright); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  background: var(--navy);
  /* Above the mobile menu overlay (450) so the burger X always stays clickable */
  z-index: 500;
  transition: box-shadow 0.4s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 10px 30px rgba(13, 35, 45, 0.28); }

.nav__inner {
  width: var(--container-wide);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo img {
  height: 34px;
  width: auto;
  max-width: min(64vw, 300px);
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  list-style: none;
}
.nav__links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-block: 0.65rem;
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--bronze-bright); }

.nav__cta { display: inline-flex; }
.nav__cta .btn { padding: 0.78rem 1.5rem; font-size: 0.72rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 460;
  position: relative;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 1.6px;
  background: var(--white);
  margin-inline: auto;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 450;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 1rem) 8% 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu ul { list-style: none; }
.mobile-menu li + li { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  color: var(--cream);
  padding-block: 0.85rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--bronze-bright); padding-left: 0.5rem; }

.mobile-menu__meta {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--bronze-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mobile-menu__meta a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding-block: 0.65rem;
}
.mobile-menu__meta a:hover { color: var(--bronze-bright); }

/* ---------- Hero (stacked masthead: text above framed plate) ---------- */

.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + clamp(2.6rem, 6vh, 4.6rem));
  padding-bottom: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.hero__masthead {
  width: var(--container);
  margin-inline: auto;
  text-align: center;
  max-width: 54rem;
}
.hero__masthead .eyebrow { margin-bottom: 1.3rem; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.08;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--bronze-deep);
}

.hero__sub {
  margin-top: 1.4rem;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  max-width: 40rem;
  margin-inline: auto;
}

.hero__ctas {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__plate-wrap {
  margin-top: clamp(2.6rem, 6vh, 4.2rem);
  flex: 1;
  min-height: 0;
  width: var(--container-wide);
  margin-inline: auto;
  position: relative;
  padding-bottom: clamp(2.4rem, 5vh, 3.8rem);
}
.hero__plate {
  position: relative;
  height: 100%;
  min-height: clamp(300px, 42vh, 560px);
  border: 1px solid var(--bronze-muted);
  padding: clamp(0.6rem, 1.4vw, 1rem);
  background: var(--white);
  box-shadow: 0 30px 60px rgba(13, 35, 45, 0.12);
}
.hero__plate-inner {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.hero__plate-inner img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero__plate-caption {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2.4rem);
  bottom: clamp(-0.1rem, 1vh, 0.6rem);
  transform: translateY(50%);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.7rem 1.3rem;
}

/* ---------- Credo strip (dark) ---------- */

.credo {
  background: var(--navy);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.credo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.credo__item {
  text-align: center;
  padding-inline: clamp(1.2rem, 3vw, 2.6rem);
}
.credo__item + .credo__item { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.credo__icon {
  width: 34px;
  height: 34px;
  margin-inline: auto;
  margin-bottom: 1.1rem;
  color: var(--bronze-bright);
}
.credo__icon svg { width: 100%; height: 100%; }
.credo__item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.credo__item p {
  font-weight: 300;
  font-size: 0.93rem;
  color: var(--text-light-muted);
  max-width: 22rem;
  margin-inline: auto;
}

/* ---------- Services (arch grid) ---------- */

.services {
  background: var(--white);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.4vw, 2.8rem) clamp(1.4rem, 3vw, 2.4rem);
}

.service-card { text-align: center; }
.service-card__img {
  aspect-ratio: 3 / 3.8;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 1px solid var(--bronze-muted);
  padding: 0.55rem 0.55rem 0;
  background: var(--cream);
}
.service-card__img-inner {
  height: 100%;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-top: 1.3rem;
}
.service-card p {
  font-weight: 300;
  font-size: 0.92rem;
  margin-top: 0.45rem;
  max-width: 19rem;
  margin-inline: auto;
}

.services__more {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
  border-top: 1px solid rgba(13, 35, 45, 0.1);
  padding-top: 1.8rem;
  font-size: 0.95rem;
  font-weight: 300;
}
.services__more strong { font-weight: 500; color: var(--text-dark); }

/* ---------- Transformation (before / after wipe) ---------- */

.transform {
  background: var(--cream-2);
}
.transform__stage {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
  width: var(--container);
  margin-inline: auto;
}
.transform__copy .eyebrow { margin-bottom: 1.1rem; }
.transform__copy .section-title { max-width: 17ch; }
.transform__copy p {
  margin-top: 1.2rem;
  font-weight: 300;
  max-width: 30rem;
}
.transform__hint {
  margin-top: 1.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.transform__hint::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--bronze);
}

.wipe {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.wipe__frame {
  position: relative;
  aspect-ratio: 637 / 720;
  overflow: hidden;
  border: 1px solid var(--bronze-muted);
  padding: clamp(0.5rem, 1.2vw, 0.85rem);
  background: var(--white);
  box-shadow: 0 26px 50px rgba(13, 35, 45, 0.14);
}
.wipe__inner { position: absolute; inset: clamp(0.5rem, 1.2vw, 0.85rem); overflow: hidden; }
.wipe__layer {
  position: absolute;
  inset: 0;
}
.wipe__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wipe__layer--after { clip-path: inset(0 0 0 100%); }
.wipe__bar {
  margin-top: 0.9rem;
  height: 2px;
  background: rgba(13, 35, 45, 0.12);
  position: relative;
  overflow: hidden;
}
.wipe__bar-fill {
  position: absolute;
  inset: 0;
  background: var(--bronze);
  transform-origin: left center;
  transform: scaleX(0);
}
.wipe__caption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-body);
  text-align: center;
  font-style: italic;
  font-family: var(--font-display);
}

/* ---------- Featured work ---------- */

.projects {
  background: var(--white);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
}
.project-card__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--bronze-muted);
  padding: clamp(0.55rem, 1.2vw, 0.85rem);
  background: var(--cream);
}
.project-card__img-inner { height: 100%; overflow: hidden; position: relative; }
.project-card__img img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.project-card__meta {
  text-align: center;
  margin-top: 1.4rem;
}
.project-card__meta .eyebrow { margin-bottom: 0.6rem; }
.project-card__meta .eyebrow::before { display: none; }
.project-card__meta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--text-dark);
}
.project-card__meta p {
  margin-top: 0.5rem;
  font-weight: 300;
  font-size: 0.95rem;
  max-width: 24rem;
  margin-inline: auto;
}

/* ---------- Rooms band (dark) ---------- */

.rooms {
  background: var(--navy);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.rooms__cell {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 3vw, 2.4rem) 1rem;
  text-align: center;
}
.rooms__cell span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.rooms__cell:hover span { color: var(--bronze-bright); }

/* ---------- Process ---------- */

.process {
  background: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.process__step {
  border-top: 1px solid var(--bronze);
  padding-top: 1.4rem;
}
.process__num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bronze-deep);
  letter-spacing: 0.1em;
}
.process__step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-top: 0.7rem;
}
.process__step p {
  font-weight: 300;
  font-size: 0.92rem;
  margin-top: 0.55rem;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13, 35, 45, 0.82), rgba(13, 35, 45, 0.88));
}
.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: var(--container);
  margin-inline: auto;
  max-width: 44rem;
}
.cta__inner .eyebrow { margin-bottom: 1.2rem; }
.cta__inner p {
  margin-top: 1.2rem;
  color: var(--text-light);
  font-weight: 300;
  font-size: 1.02rem;
}
.cta__actions {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta__email {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-light-muted);
}
.cta__email a {
  color: var(--bronze-bright);
  border-bottom: 1px solid var(--bronze-muted);
  padding-block: 0.65rem;
  transition: color 0.3s var(--ease);
}
.cta__email a:hover { color: var(--white); }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 2rem;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img {
  height: 34px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}
.footer__brand p {
  margin-top: 1rem;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--text-light-muted);
  max-width: 21rem;
}
.footer__links {
  list-style: none;
  display: flex;
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-block: 0.65rem;
  display: inline-block;
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--bronze-bright); }
.footer__contact {
  text-align: right;
}
.footer__contact a {
  display: inline-block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding-block: 0.65rem;
  transition: color 0.3s var(--ease);
}
.footer__contact a:hover { color: var(--bronze-bright); }
.footer__contact .footer__email {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light-muted);
}
.footer__bottom {
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-light-muted);
}

/* ---------- 404 ---------- */

.error-section {
  min-height: 100svh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 6% 3rem;
}
.error__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 11rem);
  line-height: 1;
  color: var(--bronze-muted);
}
.error__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-top: 0.6rem;
}
.error__body {
  color: var(--text-light-muted);
  font-weight: 300;
  max-width: 28rem;
  margin: 1.1rem auto 2.2rem;
}

/* ---------- Reveal helper ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
html.no-js .reveal, html.no-gsap .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .transform__stage { grid-template-columns: 1fr; }
  .transform__copy { text-align: center; }
  .transform__copy .section-title { margin-inline: auto; }
  .transform__copy p { margin-inline: auto; }
  .transform__hint { justify-content: center; }

  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__contact { text-align: left; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    height: auto;
    padding-top: calc(var(--nav-height) + 2.4rem);
  }
  .hero__plate { min-height: 300px; }
  .projects__grid { grid-template-columns: 1fr; }
  .credo__grid { grid-template-columns: 1fr; }
  .credo__item + .credo__item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card__img { max-width: 340px; margin-inline: auto; }
  .process__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
}
