:root {
  --dark: #081d2a;
  --dark-soft: #0f2d40;
  --gold: #f0af33;
  --light: #ecebe5;
  --text: #0f1012;
  --muted: #41464d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
}

main {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-image: linear-gradient(
      90deg,
      rgba(4, 13, 20, 0.86) 0%,
      rgba(4, 13, 20, 0.72) 46%,
      rgba(4, 13, 20, 0.58) 100%
    ),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(8, 90, 122, 0.35), transparent 55%);
  pointer-events: none;
}

.section-inner,
.section,
.site-footer,
.site-header {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0.6rem;
  z-index: 60;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(7, 22, 34, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  width: 128px;
  height: 128px;
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--gold);
}

.btn {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 92px);
  padding: 0.7rem 0 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: center;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 22, 32, 0.68);
  border-radius: 8px;
  padding: clamp(0.9rem, 2.2vw, 1.4rem);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  font-family: "Syne", sans-serif;
}

h1 {
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  max-width: 11ch;
}

h1 span {
  color: var(--gold);
  display: block;
}

.lead {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 52ch;
}

.lead.small {
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  width: min(420px, 66vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  width: min(390px, 62vw);
  height: min(390px, 62vw);
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  transform: none;
  mix-blend-mode: normal;
  filter: none;
}

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 120px;
  overflow: hidden;
}

.waves span {
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 90px;
  border-radius: 44% 56% 55% 45% / 54% 44% 56% 46%;
  opacity: 0.65;
}

.waves span:nth-child(1) {
  background: rgba(255, 255, 255, 0.45);
  bottom: 18px;
}

.waves span:nth-child(2) {
  background: rgba(255, 255, 255, 0.74);
  bottom: 8px;
}

.waves span:nth-child(3) {
  background: rgba(255, 255, 255, 0.9);
  bottom: -10px;
}

.section {
  padding: clamp(4rem, 8vw, 6.4rem) 0;
}

.light {
  background: var(--light);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.7vw, 3.3rem);
  text-transform: uppercase;
  color: #363f4a;
}

.section-heading h2::first-letter {
  color: var(--gold);
}

.overline {
  font-size: 1.12rem;
  color: #353f4c;
  margin: 0 0 0.55rem;
}

.heading-accent {
  width: 340px;
  max-width: 85%;
  height: 4px;
  margin: 0.8rem auto 0;
  background: linear-gradient(90deg, var(--gold) 0 50%, #101418 50% 100%);
}

.about-grid,
.two-col-list,
.contact-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-card {
  background: #d9d9d9;
  padding: 1.2rem;
}

.about-card h3 {
  background: var(--gold);
  color: #fff;
  padding: 0.9rem;
  margin: -1.2rem -1.2rem 1rem;
  text-transform: uppercase;
}

.about-card p,
.list-stack p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.dark {
  color: #111;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  text-transform: uppercase;
}

.skill {
  margin-top: 1rem;
}

.skill strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.bar {
  height: 12px;
  background: #e1d5b8;
}

.bar span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold),
    var(--gold) 10px,
    #e39e1b 10px,
    #e39e1b 20px
  );
}

.list-stack {
  margin-top: 1rem;
  display: grid;
  gap: 1.1rem;
}

.list-stack h4 {
  font-size: 2rem;
  color: #38424f;
}

.service-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  text-align: center;
  padding: 0.9rem 0.8rem;
}

.service-card h3 {
  text-transform: uppercase;
  color: var(--gold);
  font-size: 2rem;
}

.service-card p {
  margin: 0.8rem 0 0;
  line-height: 1.6;
  font-size: 1.08rem;
}

.counter-band {
  padding: 2.4rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  background-image: linear-gradient(
      90deg,
      rgba(4, 13, 20, 0.86) 0%,
      rgba(4, 13, 20, 0.72) 100%
    ),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  color: #fff;
  text-align: center;
}

.counter-band strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 6vw, 4rem);
  font-family: "Syne", sans-serif;
}

.counter-band span {
  font-size: 1.7rem;
}

.portfolio-grid,
.testimonial-grid,
.blog-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-grid a,
.blog-grid article {
  background: #fff;
  border: 6px solid var(--gold);
}

.portfolio-grid img,
.blog-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.blog-grid h4 {
  padding: 0.9rem;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.cta-strip {
  text-align: center;
  color: #fff;
  background-image: linear-gradient(
      90deg,
      rgba(4, 13, 20, 0.86) 0%,
      rgba(4, 13, 20, 0.66) 100%
    ),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
}

.cta-strip h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.cta-strip p {
  margin: 0.8rem auto 1.2rem;
  max-width: 60ch;
  font-size: 1.15rem;
}

.testimonial-grid article {
  background: #ddd;
  padding: 1rem;
}

.testimonial-grid p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-grid h4 {
  margin-top: 0.9rem;
  font-size: 1.5rem;
  color: #1e2834;
}

.contact-layout p {
  font-size: 1.5rem;
  line-height: 1.6;
}

.contact-layout a {
  color: #142840;
}

.contact-form {
  background: transparent;
  border: 0;
  padding: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #5a6068;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  font: inherit;
  border: 1px solid #969696;
  background: #ededed;
  padding: 0.8rem;
}

.form-actions {
  margin-top: 0.8rem;
}

.form-status {
  color: #0a5d3f;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.map-wrap {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.map-wrap iframe {
  width: 100%;
  border: 0;
  height: 340px;
}

.site-footer {
  background: #060a0f;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-link:hover {
  background: rgba(240, 175, 51, 0.16);
  border-color: rgba(240, 175, 51, 0.7);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(12px);
}

.stagger-item.is-visible {
  animation: staggerIn 420ms ease forwards;
}

@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    top: 0;
    flex-wrap: wrap;
  }

  .brand {
    width: 98px;
    height: 98px;
  }

  .main-nav {
    width: 100%;
    order: 3;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.4rem;
  }

  .hero-shell,
  .about-grid,
  .two-col-list,
  .contact-layout,
  .service-grid,
  .portfolio-grid,
  .testimonial-grid,
  .blog-grid,
  .counter-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-circle {
    width: min(420px, 86vw);
  }

  .hero-portrait {
    width: min(400px, 83vw);
    height: min(400px, 83vw);
  }

  .counter-band span {
    font-size: 1.25rem;
  }
}

@media (max-width: 580px) {
  .section-inner,
  .section,
  .site-footer,
  .site-header,
  .map-wrap {
    width: calc(100% - 1rem);
  }

  .hero-panel {
    padding: 1rem;
  }

  .brand {
    width: 82px;
    height: 82px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .lead,
  .service-card p,
  .about-card p,
  .list-stack p,
  .testimonial-grid p {
    font-size: 1rem;
  }

  .service-card h3 {
    font-size: 1.65rem;
  }

  .list-stack h4 {
    font-size: 1.5rem;
  }
}
