@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  color-scheme: light;
  --paper: #f9f7f3;
  --white: #fffdf9;
  --ink: #272137;
  --dark: #252135;
  --aubergine: #453953;
  --plum: #644a74;
  --lavender: #eee8f0;
  --line: #ddd3df;
  --body: #50495b;
  --gold: #d2af84;
  --heading: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #9774a6; outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(100% - 7rem, 1264px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 5; background: var(--white); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

.site-header { background: var(--paper); border-bottom: 1px solid #e8e0e6; }
.header-inner, .footer-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; flex: none; line-height: 1; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; display: flex; align-items: end; justify-content: center; padding-bottom: 9px; gap: 3px; background: var(--dark); border-radius: 3px; }
.brand-icon i { display: block; width: 3px; height: 7px; background: #ead8ed; }
.brand-icon i:nth-child(2) { height: 12px; }
.brand-icon i:nth-child(3) { height: 17px; }
.brand-name { font-family: var(--heading); font-size: 1.65rem; letter-spacing: -.035em; }
.brand-name span { color: var(--plum); font-style: italic; }
.brand-name small { display: block; font: 700 .57rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .19em; margin-top: .17rem; }
nav { display: flex; align-items: center; gap: 2.15rem; }
nav a { font-weight: 650; font-size: .875rem; text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .26em; }
.nav-contact { display: inline-flex; align-items: center; gap: .65rem; border: 1px solid #cbbdce; border-radius: 3px; padding: .55rem .92rem; }

.hero { background: var(--dark); color: var(--white); }
.hero-inner { min-height: 573px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.2rem, 5.4vw, 6rem); padding-block: 4rem; }
.hero-copy { padding-block: .8rem; }
.eyebrow { display: flex; align-items: center; gap: .63rem; color: var(--plum); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: .45rem; height: .45rem; flex: 0 0 .45rem; border: 1px solid currentColor; transform: rotate(45deg); }
.hero .eyebrow { color: #efcba3; }
h1 { margin-top: 1.15rem; font-size: clamp(4rem, 7.15vw, 7.05rem); line-height: .91; letter-spacing: -.035em; }
h1 em { color: #ddc6e9; font-weight: 400; white-space: nowrap; }
.hero-description { color: #e6dfea; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.65; max-width: 26rem; margin-top: 1.65rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; margin-top: 1.8rem; }
.button, .text-link { font-weight: 700; font-size: .875rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 48px; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: 3px; text-decoration: none; }
.button-primary { background: #e3d2ea; color: #2c2338; }
.button-primary:hover { background: #f1e5f4; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.hero-visual { background: #40374a; border: 1px solid #75647a; padding: .48rem; position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; object-position: 49% center; }
.hero-visual::after { content: ""; position: absolute; pointer-events: none; width: 32px; height: 32px; right: -1px; bottom: -1px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-block: .75rem 2rem; }
h2 { font-size: clamp(2.9rem, 5vw, 4.85rem); line-height: .97; letter-spacing: -.024em; }
.section-intro > p { color: var(--body); max-width: 23rem; padding-bottom: .2rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { min-height: 220px; background: var(--white); border: 1px solid var(--line); padding: clamp(1.25rem, 2.65vw, 2.25rem); }
.service-card h3 { font-size: clamp(1.85rem, 2.6vw, 2.45rem); line-height: 1.05; margin-block: 1rem .55rem; }
.service-card p { max-width: 27rem; color: var(--body); line-height: 1.65; font-size: .98rem; }
.service-icon { width: 40px; height: 40px; display: flex; position: relative; align-items: center; justify-content: center; border-radius: 3px; background: var(--lavender); color: var(--plum); }
.service-icon i { display: block; }
.assess i:first-child { width: 13px; height: 13px; border: 1.5px solid; border-radius: 50%; transform: translate(-2px, -2px); }
.assess i:nth-child(2) { width: 7px; height: 1.5px; background: currentColor; position: absolute; top: 25px; left: 23px; transform: rotate(45deg); }
.design { flex-direction: column; gap: 3px; }
.design i { width: 15px; height: 2px; background: currentColor; }
.design i:nth-child(2) { width: 10px; margin-right: 5px; }
.evaluate { align-items: end; gap: 3px; padding-bottom: 12px; }
.evaluate i { width: 3px; height: 6px; background: currentColor; }
.evaluate i:nth-child(2) { height: 10px; }
.evaluate i:nth-child(3) { height: 16px; }
.about { background: var(--lavender); border-block: 1px solid var(--line); }
.about-inner, .contact-inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 7vw, 7.5rem); align-items: start; }
.about h2, .contact h2 { margin-block: .8rem; }
.role { font-weight: 650; color: var(--plum); }
.about-copy { color: var(--body); font-size: 1.1rem; }
.about-copy p + p { margin-top: 1rem; }

.contact-notice { align-self: center; background: var(--white); border: 1px solid var(--line); padding: clamp(1.2rem, 3.15vw, 2.4rem); color: var(--body); font-size: 1.08rem; }
.site-footer { background: var(--dark); color: #ede5ef; }
.footer-inner { min-height: 112px; }
.site-footer .brand-icon { background: #eee5f0; }
.site-footer .brand-icon i { background: var(--plum); }
.site-footer .brand-name span { color: #ddc6e9; }

@media (max-width: 1020px) {
  .shell { width: min(100% - 4rem, 1264px); }
  .hero-inner { min-height: auto; }
  .hero-actions { gap: 1rem; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 2.5rem, 1264px); }
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 2rem; padding-block: 2.45rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.55rem, 10.5vw, 5.5rem); }
  .hero-visual img { aspect-ratio: 16/10; }
  .section-intro { display: grid; gap: .9rem; }
  .desktop-break { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .header-inner { min-height: 75px; gap: .7rem; }
  nav { gap: .85rem; }
  .nav-contact { padding: .4rem .6rem; }
}
@media (max-width: 460px) {
  .brand-name { font-size: 1.35rem; }
  .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  .header-inner nav { width: 100%; justify-content: space-between; gap: .5rem; padding-top: .45rem; }
  .hero-actions { gap: .8rem 1.2rem; }
  .footer-inner { flex-wrap: wrap; gap: .75rem 1.5rem; padding-block: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.arrow-diagonal { display: inline-block; transform: rotate(-45deg); }
