
:root {
  --cream: #F6F1E8;
  --card-cream: #FAF8F3;
  --forest: #344638;
  --sage: #B9C5A5;
  --muted-green: #78866A;
  --border: #D4BFB0;
  --rose: #D98FA2;
  --rose-light: #F2DCE1;
  --ink: #2F352E;
  --muted: #6D7068;
  --white: #FFFFFF;
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 14px 40px rgba(52, 70, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--rose-light);
  color: var(--forest);
}

/* HEADER AND NAVIGATION */

.site-header {
  min-height: 88px;
  padding: 16px 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid rgba(212, 191, 176, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  max-width: 210px;
}

.brand img {
  width: auto;
  max-width: 190px;
  max-height: 60px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav-links a {
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.text-link:hover,
.card-link:hover,
.back-top:hover {
  color: var(--rose);
}

.nav-links .nav-contact {
  padding: 10px 17px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links .nav-contact:hover {
  background: var(--forest);
  color: var(--white);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  padding: 7px 12px;
  font-size: 22px;
}

/* SHARED ELEMENTS */

.section {
  padding: 110px 8%;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.8;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--forest);
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5vw, 62px);
}

h2 em {
  color: var(--muted-green);
  font-weight: 400;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.section-heading > p:last-child {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span,
.card-link span {
  font-size: 16px;
}

.button-primary {
  background: var(--forest);
  color: var(--white);
}

.button-primary:hover {
  background: #24352A;
}

.button-outline {
  border-color: var(--forest);
  color: var(--forest);
}

.button-outline:hover {
  background: var(--forest);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  transition: color 0.2s ease;
}

/* HERO */

.hero {
  min-height: 610px;
  padding: 74px 8% 86px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 6%;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(217, 143, 162, 0.12), transparent 42%),
    var(--cream);
}

.hero-copy {
  max-width: 570px;
  padding: 18px 0;
}

.hero h1 {
  margin: 0 0 25px;
  font-size: clamp(54px, 6.5vw, 86px);
}

.hero h1 span {
  color: var(--muted-green);
  font-style: italic;
}

.hero-description {
  max-width: 440px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-note {
  margin: 48px 0 0;
  color: var(--muted-green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-visual {
  position: relative;
  min-width: 0;
  max-width: 570px;
  width: 100%;
  justify-self: end;
}

.hero-visual > img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: 48% 48% 4px 4px;
  background: var(--rose-light);
}

.hero-stamp {
  position: absolute;
  right: -20px;
  bottom: 28px;
  width: 110px;
  height: 110px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(52, 70, 56, 0.2);
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--forest);
  font-family: var(--heading);
  font-size: 19px;
  line-height: 1.05;
  text-align: center;
  transform: rotate(8deg);
}

/* PROJECTS */

.projects {
  background: var(--card-cream);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
}

.project-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(212, 191, 176, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--rose-light);
}

.project-image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.image-arrow {
  position: absolute;
  right: 17px;
  bottom: 17px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  font-size: 18px;
}

.project-content {
  padding: 29px 30px 32px;
}

.card-number {
  margin: 0 0 12px;
  color: var(--muted-green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.project-content h3,
.service-card h3 {
  margin: 0 0 14px;
  font-family: var(--heading);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
}

.project-content > p:not(.card-number):not(.featured) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.project-content .featured {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.featured strong {
  color: var(--forest);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  transition: color 0.2s ease;
}

/* SELECTED PROJECTS */

.selected-projects {
  background: var(--sage);
}

.selected-projects .section-heading .eyebrow,
.selected-projects .section-heading > p:last-child {
  color: #43513E;
}

.selected-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 950px;
  margin: 0 auto;
}

.selected-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(52, 70, 56, 0.25);
  background: rgba(250, 248, 243, 0.68);
  transition: background 0.2s ease, transform 0.2s ease;
}

.selected-card:hover {
  background: var(--card-cream);
  transform: translateY(-3px);
}

.selected-icon {
  color: var(--muted-green);
  font-family: var(--heading);
  font-size: 25px;
}

.selected-card strong,
.selected-card small {
  display: block;
}

.selected-card strong {
  color: var(--forest);
  font-size: 13px;
  line-height: 1.5;
}

.selected-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.selected-arrow {
  color: var(--forest);
  font-size: 19px;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 9%;
  background: var(--cream);
}

.about-image {
  position: relative;
  min-width: 0;
}

.about-image > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--rose-light);
  border-radius: 4px 4px 46% 46%;
}

.image-caption {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: max-content;
  max-width: 90%;
  padding: 11px 17px;
  background: var(--card-cream);
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  transform: translateX(-50%);
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.about-copy .button {
  margin-top: 14px;
}

/* SERVICES */

.services {
  background: var(--card-cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--border);
  background: var(--cream);
}

.service-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--forest);
  font-family: var(--heading);
  font-size: 20px;
}

.service-card h3 {
  font-size: 25px;
}

.service-card p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.service-card .card-link {
  margin-top: auto;
}

/* CONTACT */

.contact {
  padding-top: 95px;
  padding-bottom: 95px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(217, 143, 162, 0.18), transparent 40%),
    var(--forest);
  color: var(--cream);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: var(--sage);
}

.contact h2 {
  color: var(--cream);
}

.contact h2 em {
  color: #E6B5C2;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 28px;
  color: rgba(250, 248, 243, 0.8);
  font-size: 14px;
}

.button-light {
  background: var(--cream);
  color: var(--forest);
}

.button-light:hover {
  background: var(--rose-light);
}

.contact-inner > small {
  display: block;
  margin-top: 15px;
  color: rgba(250, 248, 243, 0.68);
  font-size: 10px;
}

/* FOOTER */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px 30px;
  padding: 34px 8%;
  background: var(--card-cream);
  border-top: 1px solid var(--border);
}

.footer-brand {
  width: fit-content;
  max-width: 180px;
}

.footer-brand img {
  max-width: 160px;
  max-height: 48px;
  object-fit: contain;
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.back-top {
  width: fit-content;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
}

.site-footer > small {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

/* TABLET */

@media (max-width: 900px) {
  .site-header {
    padding-right: 5%;
    padding-left: 5%;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero {
    padding-right: 6%;
    padding-left: 6%;
    gap: 5%;
  }

  .hero h1 {
    font-size: clamp(48px, 7vw, 66px);
  }

  .section {
    padding: 85px 6%;
  }

  .project-grid {
    gap: 22px;
  }

  .project-content {
    padding: 24px;
  }

  .about {
    gap: 6%;
  }

  .service-card {
    padding: 23px;
  }
}

/* MOBILE */

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 72px;
    padding: 12px 5%;
  }

  .brand img {
    max-width: 155px;
    max-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5% 22px;
    background: var(--card-cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 20px rgba(52, 70, 56, 0.06);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 5px;
    font-size: 13px;
  }

  .nav-links .nav-contact {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 58px 6% 65px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero .eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    max-width: 500px;
    font-size: clamp(52px, 13vw, 72px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-note {
    margin-top: 32px;
    font-size: 8px;
  }

  .hero-visual {
    width: 90%;
    max-width: 430px;
    justify-self: center;
  }

  .hero-visual > img {
    aspect-ratio: 4 / 4.5;
  }

  .hero-stamp {
    right: -14px;
    width: 92px;
    height: 92px;
    font-size: 16px;
  }

  .section {
    padding: 70px 6%;
  }

  h2 {
    font-size: clamp(39px, 10vw, 52px);
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .project-grid,
  .selected-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 24px;
  }

  .project-content {
    padding: 24px;
  }

  .project-content h3 {
    font-size: 28px;
  }

  .selected-grid {
    gap: 12px;
  }

  .selected-card {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 19px 16px;
  }

  .selected-card strong {
    font-size: 12px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-image {
    width: 86%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-image > img {
    aspect-ratio: 4 / 4.5;
  }

  .about-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .service-grid {
    gap: 15px;
  }

  .service-card {
    padding: 25px;
  }

  .contact {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .contact h2 {
    font-size: 44px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 30px 6%;
    text-align: center;
  }

  .site-footer > p,
  .site-footer > small {
    text-align: center;
  }
}

/* REDUCED MOTION */

@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;
  }
}
