:root {
  --bg: #fdf8ef;
  --bar: #efeeea;
  --ink: #111111;
  --ink-2: #4a4945;
  --soft: #74726c;
  --line: #e4dccf;
  --tile: #eeede8;
  --black: #0b0b0b;
  --accent: #ff5e1f;
  --brown: #111111; /* same black as "Thinking out loud." */
  --brown-line: #2e2e2e;
  --panel: #f3e5d8;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 100px);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --display: "Bebas Neue", "Anton", Impact, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* SMALL UPPERCASE LABELS */
.eyebrow, .btn, .tags {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow { color: var(--soft); margin-bottom: 10px; }
.eyebrow-ink { color: var(--ink); }
.eyebrow-light { color: #b9b7b0; }
.eyebrow-dot { display: inline-flex; align-items: center; gap: 8px; }

/* Small orange starburst */
.burst {
  width: 13px;
  height: 13px;
  background: var(--accent);
  clip-path: polygon(50% 0, 60% 30%, 93% 25%, 70% 50%, 93% 75%, 60% 70%, 50% 100%, 40% 70%, 7% 75%, 30% 50%, 7% 25%, 40% 30%);
}

/* HEADER: condensed logo with an orange dot, centered nav, dark pill + orange round button */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 78px;
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dot { color: var(--accent); }
.site-nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.site-nav a {
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--accent); }
.header-cta { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

/* PILL AND ROUND BUTTONS */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  border-radius: 999px;
  font-family: var(--cond);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--brown); color: #fff; }
.pill-accent { background: var(--accent); color: #fff; }
.pill-cream { background: var(--bg); color: var(--brown); }
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { transform: rotate(-12deg); }

/* INTRO (headline left, short line right) */
.intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: clamp(28px, 5vw, 90px);
  gap: 24px;
  padding: clamp(16px, 1.6vw, 24px) 0 clamp(12px, 1.2vw, 16px);
}
.intro .eyebrow { margin-bottom: 12px; }
.intro h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.05em;
}
.intro-text { max-width: 36em; padding-bottom: 2px; line-height: 1.68; }
.photo-top { padding-top: 10px; }

/* Small condensed section label with a hairline under it */
.block-label {
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* SECTIONS */
.section { padding-top: clamp(32px, 3.5vw, 52px); }
.big-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.accent-text { color: var(--accent); }
.kicker {
  margin-bottom: 12px;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* WEBSITES: soft beige rounded panel with the taped print cards inside */
.panel { padding: clamp(24px, 3.6vw, 52px); border-radius: 24px; background: var(--panel); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.panel-text { max-width: 22em; font-family: var(--cond); font-size: 20px; font-weight: 500; line-height: 1.35; }

.taped-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(34px, 3.6vw, 52px); }

.taped-card {
  position: relative;
  display: block;
  padding: 14px 14px 16px;
  background: #fdfbf7;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.taped-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 30px rgba(0, 0, 0, 0.12); }


.taped-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.taped-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.taped-img img.center { object-position: center; }

.taped-foot { display: block; padding: 14px 4px 0; }
.taped-name { display: block; font-family: "Caveat", "Bradley Hand", cursive; font-size: 30px; font-weight: 600; line-height: 1.1; }
.taped-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--soft);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
}

/* ABOUT */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: clamp(8px, 1.5vw, 20px); }
.about-title { max-width: 11em; }
.about-text { max-width: 26em; margin: 14px 0 0; font-family: var(--cond); font-size: 21px; font-weight: 500; line-height: 1.4; }

/* CONNECT: big closing line above the footer */
.connect-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.service { border-bottom: 1px solid var(--line); }
.service:first-of-type { border-top: 1px solid var(--line); }
.service summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-family: var(--cond);
  font-size: 20px;
}
.service[open] summary::after { content: "\2212"; background: var(--accent); }
.service p { max-width: 30em; padding: 0 0 18px; font-family: var(--cond); font-size: 19px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }

/* PHOTOGRAPHY: rounded photo cards with a big condensed title and a small underlined link on top */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-card { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; background: var(--tile); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transition: transform 0.6s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.photo-card figcaption {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 34px) clamp(16px, 2vw, 28px);
  color: #fff;
}
.card-title {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

/* FOOTER: dark brown grid with thin dividers */
.footer { margin-top: clamp(32px, 3.6vw, 52px); background: var(--brown); color: #fff; font-family: var(--cond); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; font-size: 21px; font-weight: 500; }
.foot-cell { display: flex; align-items: center; min-width: 0; padding: clamp(18px, 2vw, 26px) var(--gutter); }
.foot-cell:nth-child(odd) { border-right: 1px solid var(--brown-line); }
.foot-cell:nth-child(-n+2) { border-bottom: 1px solid var(--brown-line); }
.foot-cell:nth-child(3) { border-right: 0; }
.foot-cell a { overflow-wrap: anywhere; }
.foot-cell a:hover { color: var(--accent); }
.foot-credit { font-weight: 400; }
.foot-credit strong { font-weight: 700; white-space: nowrap; }
.foot-social { justify-content: flex-end; }
.foot-insta { display: grid; place-items: center; }
.foot-insta svg { width: 28px; height: 28px; }

/* TABLET AND PHONE */
@media (max-width: 900px) {
  .taped-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .intro { grid-template-columns: 1fr; gap: 14px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .site-header { grid-template-columns: 1fr auto; height: auto; padding-top: 12px; padding-bottom: 10px; row-gap: 6px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: 22px; }
  .site-nav a { font-size: 16px; }
  .photos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .site-header { position: relative; }  /* phones: header stays at the top of the page instead of following the scroll */
  .photos { gap: 10px; }
  .brand { font-size: 22px; }
  .header-cta .pill { padding: 10px 20px; font-size: 17px; }
  .header-cta .round-btn { width: 42px; height: 42px; }
  .foot-grid { grid-template-columns: 1fr auto; }
  .foot-cell { padding: 16px var(--gutter); font-size: 19px; }
  .foot-cell:nth-child(1) { grid-column: 1 / -1; border-right: 0; }
  .foot-cell:nth-child(2) { grid-column: 1 / -1; border-right: 0; }
  .panel { border-radius: 18px; }
  .taped-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* BACKGROUND PHOTO WITH THE PAGE AS A FRAMED SHEET ON TOP */
/* A fixed layer instead of background-attachment: fixed, which misbehaves on phones */
body { background-color: #6f6f6d; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #6f6f6d url("images/background.jpg") center 48% / cover no-repeat;
}

.sheet {
  width: min(100% - 2 * clamp(10px, 6.5vw, 100px), 1320px);
  margin: clamp(10px, 2.2vw, 32px) auto;
  background: var(--bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.sheet { --gutter: clamp(16px, 2.4vw, 32px); }
.sheet .wrap { max-width: none; }

/* NAME BADGE: photo on the left; "I'm", the big name, and the Boise line share one left edge */
.intro-right {
  justify-self: end;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(16px, 1.8vw, 26px);
  align-items: center;
}
.name-badge { display: contents; }
.name-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  width: clamp(72px, 6vw, 90px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}
.name-text { grid-column: 2; display: flex; flex-direction: column; line-height: 1; }
.intro-right .intro-text { grid-column: 2; margin-top: 10px; }
.name-im {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 500;
  color: #e0472a;
  text-transform: uppercase;
}
.name-big {
  margin-top: 2px;
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 2.9vw, 2.6rem);
  line-height: 0.95;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .name-photo { width: 76px; }
}

/* Portraits photo: show a little more of the top of her head */
.photo-card img.show-top { object-position: 50% 100%; }

/* Family card: the photo is already cropped to the shoes, so center it */
.photo-card img.center-crop { object-position: 50% 50%; }

/* Keep "Boise, Idaho." together and balance the two lines when the Boise line wraps */
.intro-right .intro-text { text-wrap: balance; }

/* "photographer" in the bio: heavy uppercase type in a dark rounded box, same size as the rest of the line */
.word-tag {
  display: inline-block;
  padding: 0.12em 0.4em 0.08em;
  border-radius: 0.3em;
  background: #111111;
  color: #d4c7b4;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* Laptops and desktops: keep the photo cards short enough that the whole first screen fits without scrolling */
@media (min-width: 901px) {
  .photo-card { aspect-ratio: auto; height: clamp(220px, calc(100vh - 385px), 460px); }
}

/* Photo gallery button: right-aligned under the Portraits card */
.gallery-link-row { display: flex; justify-content: flex-end; margin-top: 12px; }
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px 4px;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}
.view-all:hover { background: var(--accent); }

@media (max-width: 600px) {
  /* Phones: full-width button under the cards */
  .gallery-link-row { display: block; }
  .view-all { display: flex; justify-content: center; padding: 9px 14px 8px; }
}

/* Bio splits after "and" on wider screens; phones wrap it naturally */
@media (max-width: 600px) { .bio-break { display: none; } }

/* Laptops and desktops: nudge the name badge in from the right edge */
@media (min-width: 901px) { .intro-right { margin-right: clamp(24px, 5vw, 90px); } }

/* Business name shown under "Photography" when that row is opened */
.service .service-brand { padding: 0 0 6px; margin-top: -4px; color: var(--accent); font-family: var(--cond); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* PHONES: header and intro laid out for thumbs (no hamburger).
   Row 1: name left, orange email button right. Row 2: four equal tap boxes split by thin lines.
   Intro: headline, then photo beside "I'M / ALLISSA", then the bio across the full width. */
.nav-contact { display: none; }
@media (max-width: 600px) {
  .site-header { grid-template-columns: 1fr auto; padding: 12px var(--gutter) 0; row-gap: 12px; column-gap: 12px; }
  .brand { font-size: 24px; }
  .header-cta .pill { display: none; }
  .header-cta .round-btn { width: 44px; height: 44px; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    gap: 0;
    margin: 0 calc(-1 * var(--gutter));
    border-top: 1px solid var(--line);
  }
  .site-nav a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 6px;
    font-size: 16px;
    letter-spacing: 0.01em;
  }
  .site-nav a + a { border-left: 1px solid var(--line); }
  .site-nav .nav-contact { display: flex; background: var(--brown); color: #fff; }
  .site-nav .nav-contact:hover { color: #fff; background: var(--accent); }

  .intro { gap: 18px; padding: 20px 0 6px; }
  .intro h1 { font-size: 2.6rem; letter-spacing: -0.045em; }
  .intro-right { justify-self: stretch; column-gap: 14px; }
  .name-photo { grid-row: 1; width: 72px; }
  .name-text { align-self: center; }
  .intro-right .intro-text { grid-column: 1 / -1; margin-top: 14px; font-size: 17px; line-height: 1.6; }
}
