:root {
  --storm-gold: #c5a364;
  --storm-slate: #a39d88;
  --storm-ivory: #efe7d8;
  --storm-black: #111111;
  --storm-soft: #f4ebdd;
  --storm-soft-2: #e9e1d3;
}

/* RESET & BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--storm-ivory);
  color: #2f3528;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* LAYOUT WRAPPER */

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* HEADER / NAV */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(
    to bottom,
    rgba(239, 231, 216, 0.98),
    rgba(239, 231, 216, 0.92)
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(197, 163, 100, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #f8f1e6, #e4d3b7);
  box-shadow: 0 4px 10px rgba(29, 20, 5, 0.25);
}

.nav-logo svg {
  width: 26px;
  height: 26px;
  stroke: var(--storm-gold);
}

.nav-title {
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #4f5745;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #5b6452;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--storm-gold);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.4rem;
}

/* UTIL */

section {
  padding: 3.3rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #414838;
}

.section-heading .underline {
  width: 60px;
  height: 2px;
  background: var(--storm-gold);
  margin: 0.7rem auto 0;
}

.section-heading p {
  margin-top: 0.7rem;
  font-family: "Lora", serif;
  font-size: 0.94rem;
  color: #707666;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 163, 100, 0.7);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a5f45;
  background: rgba(247, 240, 226, 0.95);
}

/* BUTTONS */

.btn-primary,
.btn-ghost {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}

.btn-primary {
  background: var(--storm-gold);
  color: #fffdf8;
  box-shadow: 0 10px 25px rgba(32, 22, 4, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(32, 22, 4, 0.25);
  filter: brightness(1.05);
}

.btn-ghost {
  border: 1px solid rgba(163, 157, 136, 0.8);
  background: transparent;
  color: #535a4a;
}

.btn-ghost:hover {
  background: rgba(247, 240, 226, 0.98);
  transform: translateY(-1px);
}

/* HERO */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw + 1.2rem, 3.1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: #353d2f;
}

.hero-subtitle {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  color: #626a59;
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.7rem;
}

.hero-tag {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(215, 200, 168, 0.4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4b5343;
  border: 1px solid rgba(163, 157, 136, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.hero-note {
  margin-top: 1.2rem;
  font-size: 0.84rem;
  color: #7a806f;
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at top, #f8f1e6, #d6c9b0);
  min-height: 260px;
  box-shadow: 0 24px 60px rgba(22, 12, 0, 0.24);
  transform: translateY(6px);
  opacity: 0;
  animation: floatIn 0.8s ease-out forwards;
}

.hero-visual-inner {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/3225517/pexels-photo-3225517.jpeg?auto=compress&cs=tinysrgb&w=1200");
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.95);
  transform: scale(1.05);
}

.hero-visual-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(239, 231, 216, 0.6),
    rgba(239, 231, 216, 0.88)
  );
}

.hero-logo-lockup {
  text-align: center;
  color: #3e4636;
}

.hero-logo-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 163, 100, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 241, 230, 0.92);
  box-shadow: 0 12px 30px rgba(32, 22, 4, 0.22);
}

.hero-logo-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--storm-gold);
}

.hero-logo-lockup h2 {
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-logo-lockup p {
  margin-top: 0.35rem;
  font-family: "Lora", serif;
  font-size: 0.9rem;
  color: #656c5f;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--storm-soft);
  border-radius: 24px;
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 16px 38px rgba(110, 96, 73, 0.16);
  border: 1px solid rgba(197, 163, 100, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.5),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(110, 96, 73, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #807963;
  margin-bottom: 0.25rem;
}

.service-title {
  font-family: "Lora", serif;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  color: #3c4336;
}

.service-body {
  font-size: 0.9rem;
  color: #666d5d;
  margin-bottom: 0.7rem;
}

.service-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8c8b74;
}

/* SPLIT SECTIONS */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.split-alt {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.card-soft {
  background: var(--storm-soft-2);
  border-radius: 24px;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(163, 157, 136, 0.28);
  box-shadow: 0 16px 38px rgba(137, 126, 98, 0.15);
}

.card-soft h3 {
  font-family: "Lora", serif;
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
  color: #3c4234;
}

.card-soft p {
  font-size: 0.92rem;
  color: #616654;
  margin-bottom: 0.5rem;
}

.card-soft ul {
  margin-top: 0.3rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #5a5f4d;
}

.card-soft li + li {
  margin-top: 0.2rem;
}

/* CONTACT */

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.1rem;
}

.contact-text p {
  font-size: 0.93rem;
  color: #646b59;
  margin-bottom: 0.9rem;
}

.contact-details {
  font-size: 0.88rem;
  color: #555b4a;
}

.contact-details div + div {
  margin-top: 0.18rem;
}

form {
  background: #f7efe0;
  border-radius: 20px;
  padding: 1.5rem 1.3rem;
  border: 1px solid rgba(197, 163, 100, 0.3);
  box-shadow: 0 16px 38px rgba(137, 126, 98, 0.15);
}

label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.22rem;
  color: #7a806f;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.52rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(163, 157, 136, 0.7);
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--storm-gold);
  box-shadow: 0 0 0 1px rgba(197, 163, 100, 0.3);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.2rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #808674;
}

footer span {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ANIMATIONS */

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero,
  .split,
  .split-alt,
  .contact-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 1.8rem;
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 750px) {
  .nav {
    padding-inline: 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(239, 231, 216, 0.98);
    padding: 0.8rem 1.4rem 1.1rem;
    box-shadow: 0 10px 30px rgba(36, 26, 8, 0.18);
  }
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wrapper {
    padding-inline: 1rem;
  }
  section {
    padding-block: 2.6rem;
  }
}
