:root {
  color-scheme: light;
  --ink: #332a24;
  --ink-soft: #6a5a4e;
  --paper: #fff8f1;
  --white: #fffdf9;
  --peach: #f8e3d1;
  --orange: #e9782d;
  --line: rgba(51, 42, 36, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 112px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--paper);
}

.header-inner,
.main-nav,
.brand,
.hero-actions,
.hero-note,
.values-row,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 94px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 66px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.brand-name > span {
  color: var(--orange);
  font-style: italic;
}

.brand-name small {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  gap: 38px;
}

.main-nav a,
.footer-inner > a:last-child {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.footer-inner > a:last-child:hover,
.text-link:hover,
.arrow-link:hover {
  color: var(--orange);
}

.main-nav .nav-contact {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 99px;
}

.nav-contact span {
  padding-left: 9px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 76px 104px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 76px;
}

.hero-copy {
  padding-block: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 570px;
  margin-bottom: 23px;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: 1.08;
}

h1 em,
h2 em {
  color: #a64f1c;
  font-weight: 500;
}

.hero-lead {
  max-width: 470px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 18px 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: #4a3c32;
}

.text-link,
.arrow-link {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.hero-note {
  gap: 12px;
  margin-top: 50px;
  color: var(--ink-soft);
  font-size: 11px;
}

.note-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--peach);
  font-size: 15px;
}

.hero-image-wrap {
  position: relative;
  min-height: 500px;
  margin-right: -6px;
}

.hero-image {
  width: 100%;
  height: 500px;
  border-radius: 48% 48% 8px 8px;
  object-fit: cover;
  object-position: center;
}

.image-caption {
  position: absolute;
  right: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 19px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(51, 42, 36, 0.1);
  font-size: 11px;
  font-weight: 600;
}

.caption-mark {
  color: var(--orange);
  font-size: 18px;
}

.image-index {
  position: absolute;
  right: 3px;
  top: 23px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.hero-shape {
  position: absolute;
  bottom: -180px;
  left: -180px;
  width: 450px;
  height: 330px;
  border-radius: 50%;
  background: var(--peach);
  opacity: 0.45;
  transform: rotate(-20deg);
}

.intro {
  background: var(--peach);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 100px;
}

.intro h2,
.section-heading h2,
.space-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.15;
}

.intro h2 em {
  color: #a64f1c;
}

.intro-copy {
  padding-top: 14px;
}

.intro-lead {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
}

.intro-copy > p:not(.intro-lead) {
  max-width: 490px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.values-row {
  justify-content: space-between;
  gap: 16px;
  margin-top: 80px;
  padding-top: 22px;
  border-top: 1px solid rgba(51, 42, 36, 0.2);
}

.values-row span {
  font-size: 12px;
  font-weight: 600;
}

.values-row b {
  margin-right: 10px;
  color: #a64f1c;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.services {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.section-aside {
  max-width: 310px;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 350px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.service-card-featured {
  background: #fff0e4;
}

.service-number {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-symbol {
  position: absolute;
  top: 23px;
  right: 25px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 31px;
}

.service-card h3 {
  margin: 40px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
}

.service-card p {
  min-height: 69px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 15px;
  font-size: 11px;
  line-height: 1.5;
}

.service-card li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.services-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  min-width: 0;
  padding: 6px 6px 12px;
  text-align: center;
}

.team-card:nth-child(odd) {
  transform: rotate(-1deg);
}

.team-card:nth-child(even) {
  transform: rotate(1deg);
}

.team-photo {
  width: calc(100% - 14px);
  aspect-ratio: 4 / 4.5;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid var(--orange);
  background: var(--paper);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.team-card-copy {
  padding: 16px 4px 8px;
}

.team-role {
  min-height: 42px;
  margin-bottom: 8px;
  color: var(--orange-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.space-section {
  overflow: hidden;
  background: #f3e5d8;
}

.space-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.space-copy h2 {
  margin-bottom: 20px;
}

.space-copy > p:not(.eyebrow) {
  max-width: 370px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.space-gallery {
  position: relative;
  min-height: 470px;
}

.space-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  padding: 0 0 34px;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(51, 42, 36, 0.12);
}

.space-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 14px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.space-photo-large {
  top: 0;
  left: 5%;
  width: 63%;
  height: 355px;
  transform: rotate(-3deg);
}

.space-photo-small {
  right: 1%;
  bottom: 4px;
  width: 48%;
  height: 270px;
  transform: rotate(4deg);
}

.gallery-stamp {
  position: absolute;
  z-index: 1;
  top: 41%;
  right: 8%;
  display: grid;
  width: 92px;
  height: 92px;
  place-content: center;
  border: 1px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-10deg);
}

.contact-section {
  color: var(--white);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 110px;
}

.contact-copy .eyebrow,
.contact-copy h2 em {
  color: #f5bd95;
}

.contact-copy h2 {
  max-width: 520px;
  margin-bottom: 19px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 27px;
  color: rgba(255, 254, 250, 0.75);
  font-size: 13px;
  line-height: 1.8;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  background: var(--peach);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 28px;
  align-content: center;
  padding-top: 18px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 254, 250, 0.3);
}

.contact-label {
  margin-bottom: 3px;
  color: #f5bd95;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-item address,
.contact-item a {
  color: var(--white);
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
  text-decoration: none;
}

.contact-item a:hover {
  color: #f5bd95;
}

.detail-link {
  margin-top: 5px;
  font-size: 10px !important;
  font-weight: 700;
}

.site-footer {
  padding-block: 25px 20px;
  background: var(--paper);
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand-mark {
  width: 50px;
  height: 35px;
}

.footer-brand .brand-name {
  font-size: 16px;
}

.footer-brand .brand-name small {
  font-size: 7px;
}

.footer-inner p,
.footer-inner > a:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 48px, 700px);
  }

  .section-pad {
    padding-block: 82px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 35px;
  }

  .hero-image-wrap,
  .hero-image {
    min-height: 420px;
    height: 420px;
  }

  .hero-note {
    margin-top: 34px;
  }

  .intro-grid,
  .contact-grid {
    gap: 48px;
  }

  .service-grid {
    gap: 12px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .service-card {
    padding: 24px 19px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .space-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 35px;
  }

  .space-gallery {
    min-height: 400px;
  }

  .space-photo-large {
    height: 300px;
  }

  .space-photo-small {
    height: 225px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .section-pad {
    padding-block: 68px;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 58px;
    height: 40px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-name small {
    font-size: 7px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0 9px 9px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: 600 11px var(--sans);
    cursor: pointer;
  }

  .menu-icon {
    display: grid;
    gap: 5px;
  }

  .menu-icon i {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-contact {
    align-self: flex-start;
    margin-top: 12px;
    padding: 10px 16px;
    border: 1px solid var(--ink);
  }

  .hero {
    padding-block: 49px 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
  }

  h1 {
    max-width: 500px;
    margin-bottom: 16px;
    font-size: clamp(43px, 12vw, 60px);
  }

  .hero-lead {
    margin-bottom: 23px;
    font-size: 14px;
  }

  .button {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 11px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 15px;
  }

  .text-link {
    padding-block: 14px;
  }

  .hero-note {
    margin-top: 25px;
    font-size: 10px;
  }

  .hero-image-wrap {
    min-height: 330px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .hero-image {
    height: 330px;
    min-height: 330px;
    border-radius: 48% 48% 6px 6px;
  }

  .image-caption {
    right: -10px;
    bottom: 22px;
    padding: 10px 14px;
    font-size: 9px;
  }

  .intro-grid,
  .contact-grid,
  .space-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro h2,
  .section-heading h2,
  .space-copy h2,
  .contact-copy h2 {
    font-size: clamp(37px, 10vw, 48px);
  }

  .intro-copy {
    padding-top: 0;
  }

  .intro-lead {
    font-size: 20px;
  }

  .values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-top: 44px;
  }

  .values-row span {
    font-size: 11px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-aside {
    max-width: 450px;
    margin-top: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .team-grid {
    gap: 11px;
  }

  .team-card-copy {
    padding: 13px 11px 15px;
  }

  .team-role {
    min-height: 48px;
    font-size: 8px;
  }

  .team-card h3 {
    font-size: 16px;
  }

  .service-card {
    min-height: auto;
    padding: 25px 22px;
  }

  .service-card h3 {
    margin-top: 28px;
    font-size: 24px;
  }

  .service-card p {
    min-height: 0;
  }

  .services-note {
    line-height: 1.7;
  }

  .space-grid {
    gap: 38px;
  }

  .space-gallery {
    min-height: 340px;
    margin-inline: -5px;
  }

  .space-photo-large {
    left: 2%;
    width: 68%;
    height: 260px;
  }

  .space-photo-small {
    right: 0;
    width: 49%;
    height: 210px;
  }

  .gallery-stamp {
    top: 41%;
    right: 7%;
    width: 76px;
    height: 76px;
    font-size: 13px;
  }

  .contact-grid {
    gap: 43px;
  }

  .contact-details {
    gap: 22px 16px;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-inner p {
    order: 3;
    width: 100%;
  }

  .demo-note {
    text-align: left;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
