/* beorn studio — warm minimal, Airbnb-inspired
   Pure white, one friendly family, soft shadows, rounded cards. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --white: #FFFFFF;
  --ink:   #222222;
  --gray:  #6A6A6A;
  --line:  #EBEBEB;
  --tint:  #F7F7F7;
  --teal:  #0E7466;
  --teal-dark: #0A5A4F;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --r: 16px;
  --sh-sm: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.06);
  --sh-md: 0 6px 20px rgba(0,0,0,.12);
  --ease: cubic-bezier(.25, .8, .25, 1);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #D7EBE7; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 10px; font-size: 13px;
  z-index: 300; transition: top .2s;
}
.skip-link:focus { top: 10px; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--teal); }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }

.nav-links { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 10px); }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 9px 14px; border-radius: 999px;
  transition: background .2s;
}
.nav-links a:hover { background: var(--tint); }
.nav-links a.on { background: var(--tint); }
.nav-links a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.nav-cta {
  background: var(--teal); color: var(--white) !important;
  font-weight: 600;
  margin-left: 6px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-size: 15.5px; font-weight: 600;
  background: var(--teal); color: var(--white);
  padding: 15px 30px; border-radius: 14px;
  border: none;
  transition: background .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--teal-dark); box-shadow: var(--sh-sm); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:disabled { opacity: .55; cursor: wait; }

.tlink {
  font-size: 15.5px; font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.tlink:hover { color: var(--teal); }
.tlink:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ── Hero ── */
.hero {
  padding: clamp(72px, 11vh, 130px) 0 clamp(56px, 8vh, 96px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  margin: 0 auto 22px;
  max-width: 18ch;
}
.hero h1 .accent { color: var(--teal); }
.hero .lede {
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--gray);
  max-width: 54ch;
  margin: 0 auto;
}

/* Seeker — the pill */
.seeker {
  display: inline-flex; align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  padding: 8px;
  margin-top: 40px;
  text-align: left;
  transition: box-shadow .25s;
}
.seeker:hover { box-shadow: var(--sh-md); }
.seek-opt {
  display: flex; flex-direction: column; justify-content: center;
  padding: 9px 26px;
  border-radius: 999px;
  transition: background .2s;
}
.seek-opt strong { font-size: 14.5px; font-weight: 600; }
.seek-opt span { font-size: 12.5px; color: var(--gray); }
.seek-opt:hover { background: var(--tint); }
.seek-opt:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.seek-div { width: 1px; background: var(--line); margin: 6px 0; }
.seek-go {
  width: 50px;
  border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center;
  margin-left: 10px;
  flex-shrink: 0;
  transition: background .2s, transform .2s var(--ease);
}
.seek-go:hover { background: var(--teal-dark); transform: scale(1.05); }
.seek-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.seek-go svg { width: 18px; height: 18px; }

/* Inner page hero (left aligned, quieter) */
.page-hero { padding: clamp(64px, 9vh, 104px) 0 clamp(40px, 6vh, 64px); }
.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 20ch;
}
.page-hero .lede { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--gray); max-width: 54ch; }
.page-hero .hero-ctas { margin-top: 30px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* ── Sections ── */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(24px, 2.8vw, 32px); }
.section-head .sub { color: var(--gray); margin-top: 8px; max-width: 52ch; font-size: 15.5px; }

/* ── Work cards ── */
.work-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 44px) clamp(20px, 2.6vw, 32px);
}
.work-item { display: block; }
.work-thumb {
  aspect-ratio: 16/10;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--tint);
  margin-bottom: 14px;
  transition: box-shadow .3s var(--ease);
}
.work-item:hover .work-thumb { box-shadow: var(--sh-md); }
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .9s var(--ease);
}
.work-item:hover .work-thumb img { transform: scale(1.03); }
.work-item:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: var(--r); }
.work-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work-cap h3 { font-size: 16.5px; }
.work-cap span { font-size: 14px; color: var(--gray); flex-shrink: 0; }
.work-item p { font-size: 14.5px; color: var(--gray); margin-top: 3px; max-width: 48ch; }

/* ── Service cards ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.svc-card {
  background: var(--tint);
  border-radius: 20px;
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.svc-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: var(--gray); }

/* Step cards */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.step-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 28px);
}
.step-card .step-no {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--gray); }

/* ── Statement ── */
.statement-wrap { text-align: center; }
.statement {
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.4;
  letter-spacing: -.015em;
  font-weight: 600;
  max-width: 24ch;
  margin: 0 auto;
}
.statement .quiet { color: var(--gray); font-weight: 500; }

/* ── Prose (about, privacy) ── */
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.prose h3 { font-size: 18px; margin-bottom: 10px; }
.prose p { font-size: 15.5px; color: var(--gray); line-height: 1.7; margin-bottom: 14px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose a:hover { color: var(--teal); }

/* ── Principle cards ── */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.principle-card {
  background: var(--tint);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 28px);
}
.principle-card h3 { font-size: 17px; margin-bottom: 8px; }
.principle-card p { font-size: 14.5px; color: var(--gray); }

/* ── Accordion ── */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 22px 4px;
  background: none; border: none; text-align: left;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
  border-radius: 10px;
  transition: color .2s;
}
.accordion-trigger:hover { color: var(--teal); }
.accordion-trigger:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.accordion-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--gray); transition: transform .3s var(--ease); }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-item.open .accordion-content { max-height: 500px; }
.accordion-inner { padding: 0 4px 24px; font-size: 15px; color: var(--gray); line-height: 1.7; max-width: 66ch; }
.accordion-inner p { margin-bottom: 12px; }

/* ── Contact info ── */
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-cols > div {
  background: var(--tint); border-radius: 20px; padding: 24px 26px;
}
.info-cols dt { font-size: 13.5px; color: var(--gray); margin-bottom: 4px; }
.info-cols dd { font-size: 15.5px; font-weight: 600; }
.info-cols a:hover { color: var(--teal); }

/* ── Form ── */
.form-section { background: var(--tint); }
.form-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--sh-sm);
  padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.form-pitch h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.form-pitch p { color: var(--gray); font-size: 15.5px; max-width: 44ch; }
.form-pitch .alt { margin-top: 20px; font-size: 14.5px; }
.form-pitch .alt a { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.form-pitch .alt a:hover { color: var(--teal); }

form { display: flex; flex-direction: column; gap: 15px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: 13.5px; font-weight: 600; }
.fg label .opt { color: var(--gray); font-weight: 400; }
.fg input, .fg textarea, .fg select {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--white);
  border: 1px solid #D9D9D9; border-radius: 12px;
  padding: 13px 14px; outline: none; resize: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: #ADADAD; }
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.fg textarea { min-height: 118px; }
.fg select {
  appearance: none; cursor: pointer;
  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' stroke='%236A6A6A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.honeypot { display: none; }

.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 2px; }
.ok-msg {
  font-size: 14px; font-weight: 600; color: var(--teal);
  clip: rect(0,0,0,0); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap;
}
.ok-msg.show {
  clip: auto; clip-path: none; height: auto; width: auto;
  overflow: visible; position: static; white-space: normal;
}

/* ── Footer ── */
footer { background: var(--tint); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 36px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  font-size: 14px; color: var(--gray);
}
.footer-inner a { transition: color .2s; }
.footer-inner a:hover { color: var(--ink); }
.footer-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-weight: 500; }

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 920px) {
  .svc-grid, .principle-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-logo span { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .form-card, .prose-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-cols { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .seeker {
    flex-direction: column;
    border-radius: 26px;
    width: 100%;
    max-width: 420px;
    padding: 10px;
  }
  .seek-opt { padding: 13px 18px; border-radius: 16px; }
  .seek-div { width: auto; height: 1px; margin: 0 10px; }
  .seek-go {
    width: 100%; height: 48px;
    border-radius: 999px;
    margin: 10px 0 0;
  }
}
@media (max-width: 560px) {
  .svc-grid, .principle-grid, .step-grid { grid-template-columns: 1fr; }
  .nav-links a { padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 400px) {
  .nav-cta { display: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
