:root {
  --bg: #f4ecdf;
  --bg-strong: #eadfce;
  --surface: rgba(255, 249, 240, 0.88);
  --surface-strong: #fff9f1;
  --ink: #231914;
  --muted: #62554a;
  --line: rgba(35, 25, 20, 0.12);
  --accent: #915a2a;
  --accent-deep: #5e3517;
  --accent-soft: #c98c57;
  --sage: #9aa486;
  --shadow: 0 24px 60px rgba(52, 31, 17, 0.14);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(145, 90, 42, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(154, 164, 134, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f1e7 0%, #f2e9db 55%, #efe5d8 100%);
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(145, 90, 42, 0.35);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
  background: rgba(244, 236, 223, 0.82);
  border-bottom: 1px solid rgba(35, 25, 20, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: min(310px, 48vw);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(34, 21, 11, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.site-nav a,
.call-link {
  color: var(--muted);
}

.site-nav a:hover,
.call-link:hover {
  color: var(--ink);
}

.call-link {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 25, 20, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.hero,
.section {
  padding: 5rem 0;
}

.hero-grid,
.about-grid,
.contact-shell {
  display: grid;
  gap: 2.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
}

.hero-text,
.section-heading p,
.about-copy p,
.service-card p,
.portfolio-card p,
.testimonial-card p,
.contact-copy p,
.contact-card p,
.footer-shell p {
  color: var(--muted);
}

.hero-text {
  margin-top: 1.35rem;
  max-width: 42rem;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff9f0;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 18px 40px rgba(94, 53, 23, 0.24);
}

.button-secondary {
  border: 1px solid rgba(35, 25, 20, 0.14);
  background: rgba(255, 255, 255, 0.56);
}

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

.hero-facts div,
.service-card,
.portfolio-card,
.testimonial-card,
.contact-card,
.about-logo,
.experience-list div {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.hero-facts dt {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.hero-facts dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-gallery {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 44vw, 620px);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 80px rgba(41, 25, 14, 0.18);
  animation: rise-in 800ms ease both;
  background: #1f1510;
}

.hero-copy {
  max-width: 36rem;
}

.hero-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 360ms ease, transform 520ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide figcaption {
  position: absolute;
  left: 1.35rem;
  bottom: 1.35rem;
  z-index: 1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(27, 18, 13, 0.7);
  color: #fff8ef;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-gallery-dots {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  max-width: 180px;
}

.hero-dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 1px solid rgba(255, 248, 239, 0.6);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-dot.is-active,
.hero-dot:hover {
  background: #fff8ef;
  border-color: #fff8ef;
  transform: scale(1.08);
}

.intro-strip {
  padding: 1rem 0 0;
}

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

.intro-grid p {
  padding: 1.2rem 1.3rem;
  border-top: 1px solid rgba(35, 25, 20, 0.15);
  color: var(--accent-deep);
  font-weight: 600;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0.72), rgba(245, 236, 224, 0.88)),
    linear-gradient(130deg, rgba(154, 164, 134, 0.08), rgba(145, 90, 42, 0.08));
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading-left {
  margin-bottom: 0;
  grid-column: 1 / -1;
}

.card-grid,
.experience-list,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(145, 90, 42, 0.24);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1.25rem;
}

blockquote {
  margin: 0.5rem 0 0;
  padding: 1.3rem 1.5rem;
  border-left: 4px solid var(--accent-soft);
  background: rgba(255, 252, 247, 0.7);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-side {
  display: grid;
  gap: 1rem;
}

.about-logo {
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #251913, #5f3c22);
}

.about-logo img,
.about-logo {
  overflow: hidden;
}

.experience-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-list div {
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.experience-list h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

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

.portfolio-card {
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 180ms ease, border-color 180ms ease;
  animation: rise-in 850ms ease both;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-card figcaption {
  padding: 1.2rem 1.25rem 1.35rem;
}

.portfolio-card span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.portfolio-card:nth-child(2) {
  animation-delay: 80ms;
}

.portfolio-card:nth-child(3) {
  animation-delay: 140ms;
}

.portfolio-card:nth-child(4) {
  animation-delay: 200ms;
}

.portfolio-card:nth-child(5) {
  animation-delay: 260ms;
}

.portfolio-card:nth-child(6) {
  animation-delay: 320ms;
}

.portfolio-card:nth-child(7) {
  animation-delay: 380ms;
}

.portfolio-card:nth-child(8) {
  animation-delay: 440ms;
}

.portfolio-card:nth-child(9) {
  animation-delay: 500ms;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.testimonial-card p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.contact-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
}

.contact-card a {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.contact-card a:hover {
  color: var(--accent-deep);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(35, 25, 20, 0.14);
}

.footer-shell img {
  width: 72px;
  border-radius: 20px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .card-grid,
  .portfolio-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading-left {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .nav-shell,
  .site-nav {
    flex-wrap: wrap;
  }

  .hero-grid,
  .about-grid,
  .contact-shell,
  .testimonial-grid,
  .intro-grid,
  .hero-facts,
  .experience-list {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .hero,
  .section {
    padding: 4rem 0;
  }

  .site-nav {
    gap: 0.9rem;
    font-size: 0.88rem;
  }

  .call-link {
    width: 100%;
    text-align: center;
  }

  .card-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    min-height: 240px;
  }

  .button {
    width: 100%;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}
