/* bethamit.com, direction B "Cedar". Static, no framework, no network calls.
   Swappable assets: assets/mark.svg (the on-cedar mark, clear background; install
   with site-tools/swap-mark.py) and assets/textures/{cedar,stone,clay}.svg (hero and contact bands only).
   Open picks are switched with data-* attributes on <html>: see OPEN-PICKS.md. */

@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --cedar: #1F4A3D; --clay: #A1482B; --ink: #1A1D1B; --text: #2B302D;
  --graphite: #5A605C; --faint: #6B716D; --stone: #F6F4EF; --wash: #F3F1EB; --rule: #DCD8CE;
  --sage: #C9D8CF; --clay-tint: #E7B9A6; --white: #FFFFFF;
  --serif: Newsreader, Georgia, serif; --sans: "Public Sans", Arial, sans-serif;
  /* Swappable assets. Paths are relative to this file. */
  --tex-cedar: url("textures/cedar.svg");
  --tex-stone: url("textures/stone.svg");
  --tex-clay: url("textures/clay.svg");
  --tex-size: 256px;           /* the textures are seamless 256 px tiles */
  --header-h: 80px;
  color-scheme: light;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--text); font: 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--heading, var(--cedar)); text-wrap: balance; }
p { text-wrap: pretty; }
h2 + p { margin-top: 16px; }
h3 + p { margin-top: 8px; }
p + p { margin-top: 16px; }
a { color: var(--link, var(--cedar)); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a, summary { min-height: 44px; }
:focus-visible { outline: 2px solid var(--focus, var(--clay)); outline-offset: 2px; }
#main:focus { outline: none; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 16px;
  background: var(--white); color: var(--cedar); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Layout */
.track { width: min(1200px, 100% - 2 * var(--gutter, 32px)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.band { padding-block: 120px; }
.stone { background: var(--stone); }
.dark { background-color: var(--cedar); color: var(--white); --heading: var(--white); --link: var(--white);
  --focus: var(--clay-tint); }

/* Texture: the cedar hero band (header included) and the contact band only. */
.textured { background-image: var(--tex-cedar); background-size: var(--tex-size); background-repeat: repeat; }
.site-header.textured { background-position: 0 0; }
.hero.textured { background-position: 0 calc(-1 * var(--header-h)); }

/* Wordmark: the mark, then "Bet" 400 + "Hamit" 650 in Newsreader. */
.wordmark { display: inline-flex; align-items: center; color: var(--white);
  font: 400 var(--mark-size, 26px)/1 var(--serif); letter-spacing: 0; text-decoration: none; }
.wordmark .hamit { font-weight: 650; }
.mark { display: block; flex: none; width: 1.3em; height: 1.3em; margin-inline-end: .22em; }

/* Header */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.nav { display: flex; gap: 28px; }
.nav a { display: inline-flex; align-items: center; font-size: 16px; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; text-decoration-color: var(--sage); }
.phone-nav { display: none; }
.phone-nav summary { width: max-content; margin-left: auto; padding: 10px 0 10px 12px; cursor: pointer;
  font-size: 16px; list-style: none; display: flex; align-items: center; }
.phone-nav summary::-webkit-details-marker { display: none; }

/* Type */
h1, h2, .name-story, .email { font-family: var(--serif); font-weight: 600; }
h1 { font-size: 88px; line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: 44px; line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 650; }

/* Hero */
.hero { min-height: calc(640px - var(--header-h)); display: grid; align-items: center; padding-block: 96px 128px; }
.hero-copy { grid-column: 1 / span 8; }
.eyebrow { font-size: 16px; font-weight: 600; color: var(--sage); }
.hero h1 { margin: 18px 0 24px; }
.lede { max-width: 640px; font-size: 22px; line-height: 1.5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.actions a { display: inline-flex; align-items: center; }
.actions .primary { background: var(--white); color: var(--cedar); text-decoration: none;
  min-height: 48px; border-radius: 8px; padding-inline: 20px; font-weight: 600; }
.actions .primary:hover { text-decoration: underline; }
.secondary { text-decoration-color: var(--sage); }
.hero-mark { grid-column: 9 / -1; place-self: center; width: min(100%, 230px); aspect-ratio: 1; opacity: .92; }
.hero-mark .mark { width: 100%; height: 100%; margin: 0; }

/* What I do */
.section-intro { grid-column: 1 / span 6; margin-bottom: 48px; }
.services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.service { border-top: 3px solid var(--clay); padding-top: 20px; }

/* How engagements work */
.how-title { grid-column: 1 / span 4; }
.steps { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.number { display: block; margin-bottom: 8px; color: var(--clay); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.terms { grid-column: 1 / -1; margin-top: 56px; background: var(--white); padding: 40px; border: 1px solid var(--rule); }
.trust { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.terms h3 { margin-bottom: 12px; }
.term-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.term-items p { margin: 0; }
.closing { margin-top: 24px; }

/* About */
.about-grid { grid-template-rows: auto 1fr; }
.about-title { grid-column: 6 / span 6; margin-bottom: 24px; }
.portrait { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.bio-copy { grid-column: 6 / span 6; }
.photo-box { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--stone); color: var(--graphite); border: 1px solid var(--rule); font-size: 14px; }
.photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.linkedin { display: inline-flex; align-items: center; }
.bio-copy > * + * { margin-top: 16px; }

/* The name */
.name-content { max-width: 720px; text-align: center; }
.name-story { font-size: 24px; font-weight: 400; line-height: 1.5; color: var(--text); }

/* Contact */
.contact-copy { grid-column: 1 / span 8; }
.email { display: inline-block; margin-top: 24px; font-size: 48px; line-height: 1.2;
  overflow-wrap: anywhere; text-decoration-color: var(--clay-tint); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Footer: flat cedar, set off from the textured contact band by a hairline. */
footer { --mark-size: 20px; font-size: 14px; color: var(--sage); border-top: 1px solid rgba(201, 216, 207, .22); }
.footer-row { padding-block: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.footer-row p { margin: 0; }

/* Open picks (switch on <html>; see OPEN-PICKS.md) */
[data-voice="i"] .v-we, [data-voice="we"] .v-i,
[data-about="bio"] .pick-linkedin, [data-about="linkedin"] .pick-bio,
[data-headshot="placeholder"] .pick-photo, [data-headshot="photo"] .pick-placeholder,
[data-headshot="none"] .portrait,
[data-location="hide"] .pick-location,
[data-first-call="hide"] .pick-first-call,
[data-preview="off"] .pick-preview { display: none; }
[data-headshot="none"] .about-title, [data-headshot="none"] .bio-copy { grid-column: 1 / span 8; }

@media (min-width: 701px) and (max-width: 1000px) {
  h1 { font-size: 68px; }
  .hero-mark { width: min(100%, 180px); }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  body { --gutter: 20px; font-size: 17px; }
  .band { padding-block: 72px; }
  .grid, .about-grid { display: block; }
  h1 { font-size: 48px; line-height: 1.04; }
  h2 { font-size: 32px; }
  h3, .lede { font-size: 19px; }
  .header-row { flex-wrap: wrap; gap: 0; }
  .desktop-nav { display: none; }
  .phone-nav { display: block; }
  .header-row:has(.phone-nav[open]) .wordmark { align-self: flex-start; margin-top: 10px; }
  .phone-nav[open] { flex-basis: 100%; }
  .phone-nav[open] summary { margin-top: -54px; }
  .phone-nav .nav { display: grid; gap: 0; padding-block: 0 12px; }
  .wordmark { --mark-size: 22px; }
  .hero { display: block; min-height: 0; padding-block: 56px 80px; }
  .hero-mark { display: none; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions a { width: 100%; min-height: 48px; justify-content: center; }
  .section-intro { margin-bottom: 32px; }
  .services, .steps, .term-items { grid-template-columns: 1fr; }
  .how-title { margin-bottom: 32px; }
  .terms { padding: 24px; margin-top: 40px; }
  .term-items { gap: 16px; }
  .portrait { margin-bottom: 32px; max-width: 320px; }
  .about-title { margin-bottom: 20px; }
  .name-story { font-size: 21px; }
  .email { font-size: 30px; text-underline-offset: 6px; }
  .footer-row { display: block; }
  .footer-row .wordmark { margin-bottom: 8px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
