@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --background: #f7f2ec;
  --surface: #fffdfc;
  --ink: #292421;
  --primary: #6e3e35;
  --primary-dark: #4c2822;
  --accent: #8b6232;
  --nude: #dec9be;
  --nude-deep: #d1b7aa;
  --muted: #6c6b5f;
  --line: rgba(41, 36, 33, 0.2);
  --line-light: rgba(255, 253, 252, 0.22);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", sans-serif;
  --side-space: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-170%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.side-note {
  display: none;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.25rem 0;
}

.brand img,
.footer-brand img {
  width: auto;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: none;
}

.header-call {
  display: grid;
  gap: 0.12rem;
  color: var(--primary);
  text-align: right;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.15;
  text-transform: uppercase;
}

.header-call strong {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.hero {
  position: relative;
  padding: 4.3rem 1.25rem 3.2rem;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.94;
}

h1 {
  max-width: 11.5ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.35rem, 13.5vw, 6.3rem);
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.8rem, 10.5vw, 5rem);
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 37rem;
  margin: 0;
  color: #514a45;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.55rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-primary {
  background: var(--primary);
  color: var(--surface);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.button-primary strong {
  font-size: 0.88rem;
  letter-spacing: 0.025em;
}

.button-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.text-link {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 0.25rem;
}

.hero-note {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  min-height: 23rem;
  margin-top: 3.4rem;
}

.hero-image-wrap {
  position: absolute;
  right: -1.25rem;
  bottom: 0;
  width: min(77vw, 28rem);
  height: 19.5rem;
  overflow: hidden;
  background: var(--nude);
}

.hero-image-wrap::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(125deg, rgba(110, 62, 53, 0.23), transparent 58%);
  content: "";
  pointer-events: none;
}

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

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(183, 139, 80, 0.55);
  border-radius: 50%;
}

.orbit-one {
  top: 0;
  right: 9%;
  width: 10rem;
  height: 10rem;
}

.orbit-two {
  right: 37%;
  bottom: 1rem;
  width: 4rem;
  height: 4rem;
  border-color: rgba(110, 62, 53, 0.35);
}

.hairline {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 1.4;
}

.hairline-hero {
  z-index: 2;
  top: -1rem;
  right: 7%;
  width: min(68vw, 19rem);
  height: 22rem;
}

.art-caption {
  position: absolute;
  z-index: 3;
  bottom: 1.15rem;
  left: 0;
  width: 12ch;
  margin: 0;
  color: var(--primary);
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.03;
}

.mobile-context {
  margin: 2.8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services {
  padding: 5rem 1.25rem;
  background: var(--surface);
}

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

.section-heading h2 {
  max-width: 14ch;
  margin-bottom: 1.1rem;
}

.section-heading div > p {
  max-width: 35rem;
  margin: 0;
  color: #5a524d;
  font-size: 0.92rem;
}

.service-index {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-number {
  padding-top: 0.45rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-title-wrap h3 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 10vw, 4.7rem);
  transition: color 0.2s ease;
}

.service-title-wrap p {
  max-width: 40rem;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #584f49;
  font-size: 0.9rem;
  opacity: 0;
  transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.25s ease;
}

.service-item.is-open .service-title-wrap p {
  max-height: 18rem;
  margin-top: 1rem;
  opacity: 1;
}

.service-item.is-open h3,
.service-item:focus-within h3 {
  color: var(--primary);
}

.service-toggle {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-top: 0.3rem;
  padding: 0;
  border: 1px solid var(--primary);
  border-radius: 50%;
  place-items: center;
  background: transparent;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-toggle:hover,
.service-item.is-open .service-toggle {
  background: var(--primary);
  color: var(--surface);
}

.service-item.is-open .service-toggle {
  transform: rotate(45deg);
}

.services-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.services-footer p {
  margin: 0;
}

.services-footer a {
  color: var(--primary);
  font-weight: 700;
}

.services-footer span {
  margin-left: 0.25rem;
}

.consultation {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding: 5rem 1.25rem;
  overflow: hidden;
}

.consultation-image {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: var(--nude);
}

.consultation-image::before {
  position: absolute;
  z-index: 1;
  top: 0.9rem;
  left: 0.9rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(255, 253, 252, 0.85);
  border-radius: 50%;
  content: "";
}

.consultation-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(41, 36, 33, 0.34));
  content: "";
  pointer-events: none;
}

.consultation-image img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.image-label {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.9rem;
  margin: 0;
  color: var(--surface);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.consultation-copy h2 {
  max-width: 13ch;
}

.consultation-copy p:not(.eyebrow) {
  max-width: 39rem;
  margin: 0 0 1rem;
  color: #514a45;
}

.criteria {
  position: relative;
  padding: 1.65rem 1.5rem 1.6rem 3.1rem;
  overflow: hidden;
  background: #e6d6cd;
}

.criteria-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
  color: var(--primary);
}

.criteria-header p {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.criteria-header span {
  font-family: var(--display);
  font-size: 2rem;
}

.hairline-criteria {
  top: 3.8rem;
  left: 0.1rem;
  width: 4rem;
  height: calc(100% - 4rem);
}

.criteria ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria li {
  font-family: var(--display);
  font-size: 1.52rem;
  line-height: 1.1;
}

.criteria li::before {
  margin-right: 0.55rem;
  color: var(--primary);
  content: "—";
}

.image-interlude {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0.75rem;
  padding: 0 1.25rem 5rem;
}

.image-interlude figure {
  margin: 0;
  overflow: hidden;
  background: var(--nude);
}

.image-interlude img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-large {
  height: 18rem;
}

.image-small {
  align-self: end;
  height: 11rem;
}

.image-interlude p {
  position: absolute;
  z-index: 2;
  bottom: 5.8rem;
  left: 2rem;
  width: 11ch;
  margin: 0;
  color: var(--surface);
  font-family: var(--display);
  font-size: 1.9rem;
  font-style: italic;
  line-height: 0.98;
  text-shadow: 0 1px 10px rgba(41, 36, 33, 0.35);
}

.interlude-thread {
  position: absolute;
  z-index: 3;
  right: 18%;
  bottom: 3rem;
  width: 8rem;
  height: 3.5rem;
  border-top: 1px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.contact-section {
  display: grid;
  gap: 3rem;
  padding: 5rem 1.25rem;
  background: var(--ink);
  color: var(--surface);
}

.contact-section .eyebrow {
  color: #dcb77d;
}

.contact-section h2 {
  color: var(--surface);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 35rem;
  color: #e5dbd4;
}

.contact-callout {
  display: grid;
  gap: 0.3rem;
  margin-top: 2.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.contact-callout span {
  color: #dcb77d;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-callout a {
  width: fit-content;
  color: var(--surface);
  font-family: var(--display);
  font-size: 2.15rem;
  line-height: 1;
  text-decoration: none;
}

.contact-details {
  display: grid;
  gap: 1.35rem;
  margin: 2.2rem 0 0;
}

.contact-details div {
  display: grid;
  gap: 0.2rem;
}

.contact-details dt {
  color: #dcb77d;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: #f2ece7;
  font-size: 0.88rem;
}

.contact-details a {
  color: var(--surface);
}

.contact-form {
  padding: 1.45rem;
  background: var(--surface);
  color: var(--ink);
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  color: var(--primary);
  font-family: var(--display);
  font-size: 2.15rem;
  line-height: 0.95;
}

.form-heading p {
  margin: 0;
}

.form-heading div > span {
  display: block;
  max-width: 25rem;
  margin-top: 0.6rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.72rem;
  line-height: 1.5;
}

.field-group {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.field-group label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.58rem 0;
  border: 0;
  border-bottom: 1px solid rgba(41, 36, 33, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-bottom-color: var(--primary);
  outline: 2px solid transparent;
}

.contact-form .button {
  width: 100%;
  margin-top: 0.5rem;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 1.25rem;
  background: var(--background);
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

.site-footer > a:last-child {
  color: var(--primary);
  font-weight: 700;
}

@media (min-width: 720px) {
  .site-header,
  .hero,
  .services,
  .consultation,
  .image-interlude,
  .contact-section,
  .site-footer {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    padding-top: 1.6rem;
  }

  .main-nav {
    display: flex;
    gap: 1.45rem;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .main-nav a {
    text-decoration: none;
  }

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

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(19rem, 0.98fr);
    column-gap: 5vw;
    align-items: center;
    min-height: 44rem;
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .hero-art {
    min-height: 32rem;
    margin-top: 0;
  }

  .hero-image-wrap {
    right: 0;
    width: min(39vw, 31rem);
    height: 28.5rem;
  }

  .hairline-hero {
    top: -0.5rem;
    right: 11%;
    width: min(32vw, 23rem);
    height: 30rem;
  }

  .orbit-one {
    width: 13rem;
    height: 13rem;
  }

  .art-caption {
    bottom: 1.7rem;
    left: 0.5rem;
  }

  .mobile-context {
    display: none;
  }

  .services {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(9rem, 1fr) minmax(22rem, 2fr);
    gap: 2rem;
    max-width: none;
  }

  .section-heading h2 {
    max-width: 13ch;
  }

  .service-item {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .service-title-wrap {
    display: grid;
    grid-template-columns: minmax(18rem, 1.1fr) minmax(15rem, 0.9fr);
    gap: 3rem;
    align-items: start;
  }

  .service-title-wrap p {
    max-height: none;
    margin-top: 0;
    padding-top: 0.5rem;
    opacity: 0.52;
  }

  .service-item:hover .service-title-wrap p,
  .service-item:focus-within .service-title-wrap p,
  .service-item.is-open .service-title-wrap p {
    margin-top: 0;
    opacity: 1;
  }

  .service-item:hover h3,
  .service-item:focus-within h3 {
    color: var(--primary);
  }

  .service-toggle {
    margin-top: 0.5rem;
  }

  .consultation {
    grid-template-columns: minmax(16rem, 0.75fr) minmax(22rem, 1.15fr);
    gap: 6vw;
    align-items: start;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .consultation-image {
    min-height: 30rem;
  }

  .consultation-image img {
    min-height: 30rem;
  }

  .consultation-copy {
    padding-top: 2.7rem;
  }

  .criteria {
    grid-column: 1 / -1;
    display: grid;
    justify-content: end;
    width: min(100%, 51rem);
    margin-left: auto;
  }

  .criteria ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    width: min(100%, 37rem);
  }

  .image-interlude {
    grid-template-columns: 1.2fr 0.6fr;
    gap: 1.5rem;
    padding-bottom: 7rem;
  }

  .image-large {
    height: 29rem;
  }

  .image-small {
    height: 18rem;
  }

  .image-interlude p {
    bottom: 8rem;
    left: calc(6vw + 2rem);
    font-size: 2.6rem;
  }

  .interlude-thread {
    right: 22%;
    bottom: 4rem;
  }

  .contact-section {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.82fr);
    gap: 7vw;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  :root {
    --side-space: 3.8rem;
  }

  body {
    padding-left: var(--side-space);
  }

  .side-note {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: var(--side-space);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-right: 1px solid var(--line);
    background: var(--background);
    color: var(--primary);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .site-header,
  .hero,
  .services,
  .consultation,
  .image-interlude,
  .contact-section,
  .site-footer {
    padding-right: 8vw;
    padding-left: 8vw;
  }

  .hero {
    min-height: 47rem;
  }

  .consultation {
    grid-template-columns: minmax(20rem, 0.8fr) minmax(25rem, 1.2fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}