/* RoomLens Advisory
   Cream #F4EEE4 and ink #362116 are sampled from the wordmark.
   Bronze is a hairline accent only. It is not used for small text. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat-500.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600.woff2") format("woff2");
}

:root {
  --cream: #f4eee4;
  --cream-deep: #e7dfd2;
  --stone-bg: #e9e2d6;
  --ink: #362116;
  --body: #49352b;
  --charcoal: #1f1d1b;
  --near-black: #141210;
  --stone: #d9d1c3;
  --stone-deep: #b9ae9c;
  --olive: #5e5b3f;
  --bronze: #a8875a;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ui: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --measure: 40rem;
  --header: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 40;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.eyebrow,
.kicker,
.case-kicker,
.field label,
.btn,
.nav-toggle,
.site-nav a,
.footer-nav a,
.founder-role,
.form-note {
  font-family: var(--ui);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.kicker,
.case-kicker,
.founder-role {
  color: var(--olive);
  font-size: 0.72rem;
  line-height: 1.4;
}

h1,
h2,
.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-wrap: balance;
}

h1,
h2,
h3,
h4,
.closer,
.quiet-list li,
.observe li,
.method .num {
  color: var(--ink);
}

h1 {
  font-weight: 600;
  font-size: clamp(2.15rem, 4.3vw, 3.85rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  text-transform: uppercase;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 38rem;
}

.closer {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.25;
  max-width: 26rem;
  margin-top: 2.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--stone-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 20px;
  padding-bottom: 14px;
}

.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  display: block;
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.68rem;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
  padding: 0.25rem 0 1rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
}

.site-nav a[aria-current="page"] {
  color: var(--olive);
}

body.nav-open {
  overflow: hidden;
}

/* Hero */

.hero {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2.75rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: 2rem 3.5rem;
  align-items: center;
}

.hero h1 {
  margin: 0.7rem 0 0.9rem;
}

.hero-copy .lede {
  max-width: 36rem;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.68rem;
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--near-black);
  border-color: var(--near-black);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual-inner {
  width: min(100%, 300px);
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.lens-rotate {
  transform-box: fill-box;
  transform-origin: center;
}

/* Pull quotes */

.pull {
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
}

.pull-olive {
  max-width: none;
  width: 100%;
  margin: 0;
  background: var(--olive);
  color: var(--cream);
  padding: clamp(4.25rem, 8vw, 6.5rem) var(--gutter);
}

.pull-olive p {
  max-width: 18em;
  margin-inline: auto;
  color: var(--cream);
}

.pull-olive::before {
  background: var(--cream);
}

.pull::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 0 auto 1.6rem;
  background: var(--bronze);
}

.pull blockquote {
  margin: 0;
}

.pull p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* Sections */

.section {
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  scroll-margin-top: 5.5rem;
}

.section.band {
  padding: clamp(4.25rem, 8vw, 6.75rem) 0;
}

.band-charcoal {
  background: var(--charcoal);
  color: var(--cream);
}

.band-ink {
  background: var(--ink);
  color: var(--cream);
}

.band-near {
  background: var(--near-black);
  color: var(--cream);
}

.band-stone {
  background: var(--stone-bg);
  color: var(--body);
}

.band-charcoal h2,
.band-charcoal h3,
.band-charcoal p,
.band-charcoal li,
.band-ink h2,
.band-ink h3,
.band-ink p,
.band-ink li,
.band-near h2,
.band-near h3,
.band-near p,
.band-near li {
  color: var(--cream);
}

.band-charcoal .quiet-list li,
.band-near .observe li {
  border-color: rgba(244, 238, 228, 0.32);
}

.band-dark :focus-visible,
.band-charcoal :focus-visible,
.band-ink :focus-visible,
.band-near :focus-visible,
.pull-olive :focus-visible {
  outline-color: var(--cream);
}

.section .eyebrow,
.section .kicker {
  margin-bottom: 0.85rem;
}

.section h2 {
  margin-bottom: 1.35rem;
}

.prose p + p {
  margin-top: 1.1rem;
}

.split {
  display: grid;
  gap: 2rem;
  margin-top: 0.5rem;
}

.quiet-list li,
.observe li {
  border-top: 1px solid var(--stone);
  padding: 0.95rem 0;
}

.quiet-list li {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.quiet-list li:last-child,
.observe li:last-child {
  border-bottom: 1px solid var(--stone);
}

/* What we see */

.see-grid {
  display: grid;
  margin-top: 2.25rem;
  border-top: 1px solid var(--stone-deep);
  border-left: 1px solid var(--stone-deep);
}

.see-grid article {
  padding: 1.5rem 1.25rem 1.75rem;
  border-right: 1px solid var(--stone-deep);
  border-bottom: 1px solid var(--stone-deep);
}

.see-grid h3 {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.85rem;
}

.see-grid p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}

/* Method */

.method {
  display: grid;
  margin-top: 2.75rem;
}

.method li {
  position: relative;
  padding: 0 0 2rem 1.35rem;
}

.method li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 3.4rem;
  bottom: 0.35rem;
  width: 1px;
  background: var(--bronze);
}

.method .num {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 0.85;
  color: var(--olive);
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.method h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 2.2vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
}

.method p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34rem;
  color: var(--body);
}

/* Services */

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.services li {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem 1.35rem 1.65rem;
  background: var(--cream);
  border: 1px solid #c9bfaf;
  transition: border-color 0.2s ease;
}

.services li:hover {
  border-color: var(--ink);
}

.services h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.services p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--body);
}

/* Why */

.why-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.founder-frame {
  width: min(100%, 260px);
  aspect-ratio: 4 / 5;
  background: transparent;
  border: 1px solid var(--bronze);
  display: grid;
  place-items: center;
}

.founder-frame img {
  width: 62%;
  height: auto;
}

.founder-frame img.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name:empty {
  display: none;
}

.founder-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.1;
  margin-top: 1rem;
}

.founder-role {
  margin-top: 0.85rem;
  color: var(--stone);
}

.founder-name:not(:empty) + .founder-role {
  margin-top: 0.3rem;
}

.why-copy p + p {
  margin-top: 1.1rem;
}

/* Difference */

.observe {
  margin-top: 0.5rem;
}

.observe li {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.15;
}

/* Cases */

.case {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--stone-deep);
}

.case-kicker {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.case-kicker .idx {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.case-grid {
  display: grid;
  gap: 1.35rem 2rem;
}

.case-grid h4 {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.45rem;
}

.case-grid p {
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Contact */

.contact-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-intro h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.contact-intro .lede {
  margin-top: 1.25rem;
}

.contact-intro .email-line {
  margin-top: 1.5rem;
  font-size: 1rem;
}

.contact-intro .email-line a {
  text-underline-offset: 0.2em;
}

.form-note {
  margin-top: 1.75rem;
  font-size: 0.68rem;
  color: var(--olive);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.66rem;
  color: var(--olive);
}

.form-row {
  display: grid;
  gap: 1.35rem;
}

.form-row + .form-row,
.form-row + .field,
.field + .form-row,
.field + .field {
  margin-top: 1.35rem;
}

input,
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--stone-deep);
  border-radius: 0;
  padding: 0.7rem 0;
  min-height: 48px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
  padding-top: 0.85rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23362116' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  padding-right: 1.5rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-bottom-color: var(--ink);
}

.form-actions {
  margin-top: 1.75rem;
}

.discreet {
  margin-top: 1.15rem;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 1.15rem;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.form-status:empty {
  display: none;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid var(--bronze);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.site-footer :focus-visible {
  outline-color: var(--cream);
}

.footer-brand img {
  width: min(320px, 78vw);
  height: auto;
}

.footer-nav {
  margin-top: 2rem;
}

.footer-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.68rem;
  text-decoration: none;
  color: var(--cream);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(217, 209, 195, 0.35);
  color: var(--stone);
  font-size: 0.95rem;
}

.footer-meta a {
  color: var(--cream);
  text-underline-offset: 0.2em;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 0.85s ease both;
  }

  .lens-rotate {
    animation: lens-turn 90s linear infinite;
  }
}

@keyframes lens-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-copy,
  .lens-rotate,
  .btn,
  .services li,
  .site-header {
    animation: none;
    transition: none;
  }
}

@media (min-width: 700px) {
  .see-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row.two {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.75rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.15rem;
  }

  .site-nav a {
    font-family: var(--ui);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.4rem 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    gap: 2rem 3.5rem;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .hero-visual-inner {
    width: min(100%, 480px);
  }

  .method {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5rem;
  }

  .method::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 0;
    right: 4%;
    height: 1px;
    background: var(--bronze);
  }

  .method li {
    padding: 0 0.75rem 0 0;
  }

  .method li:not(:last-child)::before {
    display: none;
  }

  .method .num {
    background: var(--cream);
    padding-right: 0.7rem;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .case-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 1.35rem;
  }

  .why-grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .founder-frame {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
  }
}

@media (min-width: 1040px) {
  .see-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .header-inner {
    position: relative;
  }

  .site-nav.is-open {
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}
