:root {
  --ink: #181512;
  --muted: #6f6860;
  --paper: #f7f2ea;
  --soft: #eee4d7;
  --line: rgba(24, 21, 18, 0.14);
  --terracotta: #a65334;
  --olive: #626b47;
  --charcoal: #262321;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 21, 18, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(247, 242, 234, 0.94);
  box-shadow: 0 12px 40px rgba(24, 21, 18, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 80px) 88px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 14, 0.82), rgba(20, 17, 14, 0.42) 48%, rgba(20, 17, 14, 0.14));
  content: "";
}

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

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c39d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4.1rem, 10vw, 9rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  margin: 22px 0 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
}

.hero-description {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--terracotta);
}

.button.secondary {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.section {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 5vw, 80px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-text {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.26rem);
}

.intro-text p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 44px;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 258px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.service-card span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--terracotta);
  font-weight: 800;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
}

.feature-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-copy p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 30px;
}

.tag-list span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.portfolio-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item.wide {
  grid-column: span 2;
}

.portfolio-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(24, 21, 18, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  min-height: 92px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--charcoal);
  background: #fbf8f2;
  font-weight: 800;
}

.philosophy-inner {
  display: grid;
  grid-template-columns: minmax(180px, 340px) minmax(280px, 720px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.philosophy-inner img {
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.philosophy-inner p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.partners {
  margin-top: 24px;
  color: var(--ink) !important;
  font-weight: 800;
}

.contact {
  padding: clamp(74px, 10vw, 128px) clamp(18px, 5vw, 80px);
  color: var(--white);
  background: linear-gradient(rgba(23, 21, 18, 0.88), rgba(23, 21, 18, 0.88)), url("assets/image2.jpeg") center / cover;
}

.contact-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  max-width: none;
}

.contact-inner p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-actions {
  justify-content: center;
}

address {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 80px);
  color: var(--muted);
  background: var(--paper);
  text-align: center;
  font-size: 0.9rem;
}

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

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

@media (max-width: 980px) {
  .section-grid,
  .feature-band,
  .philosophy-inner {
    grid-template-columns: 1fr;
  }

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

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

  .portfolio-item.large,
  .portfolio-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .philosophy-inner img {
    max-width: 280px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(247, 242, 234, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 92svh;
    padding: 130px 18px 58px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(20, 17, 14, 0.52), rgba(20, 17, 14, 0.86));
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  h2 {
    max-width: none;
  }

  .section {
    padding: 70px 18px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 22px;
  }

  .portfolio-item {
    min-height: 280px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
