/* ==========================================================================
   HELLOTHERE THEME ARCHITECTURE
   Recreation of https://github.com/dgunarathna/hello-there
   Fonts: Barlow Condensed, DM Sans, IBM Plex Mono
   Palette: OKLCH converted to high-fidelity warm paper editorial tones
   ========================================================================== */

/* All fonts are self-hosted and preloaded so text renders identically on the
   first paint and every paint after it — no webfont swap or layout shift. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/dm-sans-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('/assets/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
}

/* Barlow Condensed is self-hosted and preloaded in the HTML so the hero font
   is ready before first paint — no fallback text is ever shown. */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('/assets/fonts/barlow-condensed-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('/assets/fonts/barlow-condensed-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url('/assets/fonts/barlow-condensed-800-latin.woff2') format('woff2');
}

:root {
  --radius: 0.375rem;
  --background: #f4f3f0;
  --foreground: #21201c;
  --card: #f4f3f0;
  --card-foreground: #21201c;
  --popover: #f4f3f0;
  --popover-foreground: #21201c;
  --primary: #e63946;
  --primary-foreground: #ffffff;
  --secondary: #e4e2dd;
  --secondary-foreground: #21201c;
  --muted: #e4e2dd;
  --muted-foreground: #73716b;
  --accent: #fce4e4;
  --accent-foreground: #21201c;
  --border: #cbc8c0;
  --input: #cbc8c0;
  --ring: #e63946;
  --art-lime: #c8f560;
  --art-lilac: #d8b4f8;
  --art-pink: #f8c8c8;
  --art-blue: #8ecae6;
  --shadow-dock: 0 5px 24px rgba(33, 32, 28, 0.15);

  --font-sans: 'DM Sans', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--foreground);
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  margin: 0;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}

/* Button utility classes matching shadcn */
.btn-ui {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost {
  background: transparent;
  color: inherit;
}
.btn-ghost:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-link {
  color: var(--primary);
  text-underline-offset: 4px;
}
.btn-link:hover {
  text-decoration: underline;
}

.btn-outline {
  border: 1px solid var(--input);
  background: var(--background);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.mono,
.section-line,
.opening-meta,
.header-role,
.opening-bottom .practice-note,
.scroll-button,
.footer-bottom,
.art-corner,
.art-placeholder {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.skip-link {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.skip-link:focus {
  top: 10px;
  left: 10px;
}

/* Site Header */
.site-header {
  height: 100px;
  padding: 20px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 60;
}

.brand {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.brand span, .brand-star {
  font-family: var(--font-mono);
  font-size: 14px;
  vertical-align: top;
  display: inline-block;
  margin: 8px 0 0 3px;
  color: var(--primary);
}

.header-role {
  margin-left: auto;
  margin-right: 13%;
  color: var(--muted-foreground);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 12px;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* Full Screen Menu */
.full-menu {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 145px 7% 95px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: reveal 0.3s ease both;
}

.full-menu a {
  font-family: var(--font-display);
  font-size: 85px;
  font-weight: 700;
  display: flex;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
  color: var(--primary-foreground);
  transition: opacity 0.2s;
}

.full-menu a:hover {
  opacity: 0.85;
}

.full-menu a svg {
  margin-left: auto;
  width: 48px;
  height: 48px;
}

.full-menu a .mono {
  font-size: 20px;
  opacity: 0.7;
}

.full-menu p {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 35px;
  opacity: 0.8;
}

/* Opening Hero */
.opening {
  padding: 27px 4% 38px;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.opening-meta {
  display: flex;
  justify-content: space-between;
}

.edition {
  text-align: right;
}

.name-stage {
  position: relative;
  margin-top: 40px;
  padding-bottom: 14px;
  --pointer-x: 0px;
  --pointer-y: 0px;
}

.name-stage h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 172px;
  line-height: 0.86;
  text-align: center;
  letter-spacing: -0.01em;
}

.name-stage h1 span {
  display: block;
  transform: translate(var(--pointer-x), var(--pointer-y));
  transition: transform 0.35s ease-out;
}

.name-last {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--foreground);
}

.between-strip {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 60%;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate(-50%, -50%) rotate(-7deg);
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: 0 4px 0 var(--background);
  z-index: 10;
}

.between-strip svg {
  width: 24px;
  height: 24px;
}

.between-strip svg:first-of-type {
  animation: revolve 18s linear infinite;
}

.registration {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--muted-foreground);
}

.reg-one {
  left: 0;
  top: 33%;
}

.reg-two {
  right: 0;
  top: 69%;
}

.opening-bottom {
  margin-top: 55px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.opening-statement {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 500;
}

em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

.practice-note {
  margin-left: auto;
  margin-right: 15%;
  color: var(--muted-foreground);
}

.scroll-button {
  padding: 0;
  height: auto;
  gap: 18px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: none;
}

.scroll-button svg {
  width: 24px;
  height: 24px;
}

/* Exhibition Section */
.exhibition {
  padding: 24px 4% 80px;
}

.section-line {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.exhibit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 29px 0;
}

.exhibit-top h2 {
  font-size: 38px;
  margin: 0;
  font-weight: 500;
}

.exhibit-top h2 span.text-primary {
  color: var(--primary);
}

.exhibit-top a {
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
}

.exhibit-stage {
  animation: reveal 0.45s ease both;
}

.exhibit-stage .art-link,
.exhibit-stage .exhibit-caption {
  transition: opacity 180ms ease;
}

.exhibit-stage.is-swapping .art-link,
.exhibit-stage.is-swapping .exhibit-caption {
  opacity: 0;
}

.art-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.project-art {
  height: 510px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background: var(--art-lime);
  color: var(--foreground);
  transition: background-color 180ms ease;
}

.real-art {
  background: var(--secondary);
  padding: 22px;
}

.real-art img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.art-link:hover .real-art img,
.work-item a:hover .real-art img {
  transform: scale(1.035);
}

.real-art.art-kerr {
  background: #f4cccc;
}
.real-art.art-grocery {
  background: #d8eaa4;
}
.real-art.art-document {
  background: #dcc2f5;
}
.real-art.art-pay {
  background: #b8d8f0;
}
.real-art.art-syntax {
  background: #d4f28a;
}
.real-art.art-freex {
  background: #f7e3a1;
}
.real-art.art-aereamart {
  background: #c3e4f2;
}

.project-open {
  position: absolute;
  right: 24px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--foreground);
  color: var(--background);
  padding: 8px;
  border-radius: 2px;
}

.project-open svg {
  width: 24px;
  height: 24px;
}

.exhibit-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 0;
}

.exhibit-caption > div:first-child {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
}

.exhibit-caption h3 {
  font-size: 25px;
  font-weight: 500;
  margin: 0;
}

.exhibit-caption p {
  grid-column: 2;
  color: var(--muted-foreground);
  font-size: 12px;
  margin: 3px 0;
}

.exhibit-controls {
  display: flex;
  gap: 8px;
}

.exhibit-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--background);
  transition: all 0.2s;
}

.exhibit-controls button:hover {
  background: var(--accent);
}

.exhibit-controls button svg {
  width: 20px;
  height: 20px;
}

/* Home Story Section */
.home-story {
  position: relative;
  padding: 65px 4% 100px;
}

.home-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--border);
}

.home-story p {
  font-size: 64px;
  line-height: 1.12;
  margin: 35px 0;
  font-weight: 500;
}

.home-story a {
  padding: 0;
  font-size: 18px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Site Footer */
.site-footer {
  padding: 65px 4% 100px;
  background: var(--foreground);
  color: var(--background);
}

.footer-cta {
  display: block;
  position: relative;
  font-size: 45px;
  line-height: 1.2;
  padding-right: 70px;
  color: var(--background);
  font-weight: 500;
}

.footer-cta span {
  color: var(--art-lime);
}

.footer-cta svg {
  position: absolute;
  right: 0;
  top: 15px;
  width: 55px;
  height: 55px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 80px;
  gap: 25px;
  font-size: 9px;
  opacity: 0.85;
}

.footer-legal-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal-links {
  opacity: 0.75;
  display: inline-flex;
  gap: 8px;
}

.footer-legal-links a:hover {
  opacity: 1;
  color: var(--primary);
}

/* Floating Navigation Dock */
.dock {
  position: fixed;
  z-index: 70;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: var(--foreground);
  color: var(--background);
  padding: 6px;
  border-radius: 6px;
  box-shadow: var(--shadow-dock);
  border: 1px solid rgba(244, 243, 240, 0.2);
}

.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 17px;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 3px;
  color: var(--background);
  transition: background 0.2s;
}

.dock a:hover {
  background: rgba(244, 243, 240, 0.13);
}

.dock .dock-active {
  background: var(--background);
  color: var(--foreground);
}

.dock-count {
  font-family: var(--font-mono);
  color: var(--art-lime);
  font-size: 8px;
}

.dock-active .dock-count {
  color: var(--primary);
}

/* Content Pages (Work, About, Contact, Detail) */
.content-page {
  padding: 35px 4% 90px;
}

.content-page h1 {
  font-size: 100px;
  line-height: 1;
  font-weight: 500;
  margin: 55px 0;
}

.page-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.page-title-row p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 60px;
  color: var(--muted-foreground);
}

.filters {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 20px 0 45px;
}

.filters button {
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}

.filters button.active-filter {
  background: var(--primary);
  color: var(--primary-foreground);
}

.filters button:not(.active-filter):hover {
  background: var(--secondary);
}

.work-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 6%;
  row-gap: 75px;
}

.work-item:nth-child(even) {
  margin-top: 110px;
}

.work-item .project-art {
  height: 370px;
}

.work-item-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
}

.work-item-caption h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.work-item-caption svg {
  margin-left: auto;
  width: 20px;
  height: 20px;
}

.work-item > a > p {
  margin: 6px 0 0 30px;
  font-size: 11px;
  color: var(--muted-foreground);
}

/* Detail Case Study Page */
.project-heading {
  margin-top: 60px;
}

.project-heading h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 140px;
  margin: 20px 0 45px;
  line-height: 0.9;
}

.project-heading h1 span.text-primary {
  color: var(--primary);
}

.project-lede {
  font-size: 22px;
  max-width: 760px;
  line-height: 1.6;
  margin: -20px 0 45px;
  color: var(--foreground);
}

.project-facts {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 0 0 35px;
}

.project-facts span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-foreground);
  display: block;
}

.project-facts p {
  font-size: 14px;
  margin: 7px 0 0;
  font-weight: 500;
}

.project-facts a {
  margin-left: auto;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.project-notes {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.project-notes h2 {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 20px;
}

.project-notes p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 720px;
}

.case-gallery {
  margin-bottom: 60px;
}

.case-gallery figure {
  margin: 0 0 50px;
}

.case-gallery img {
  width: 100%;
  max-height: 1000px;
  object-fit: contain;
  background: var(--secondary);
}

.case-gallery figcaption {
  margin-top: 15px;
  color: var(--muted-foreground);
}

.next-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--foreground);
  margin-top: 60px;
}

.next-project > span:nth-child(2) {
  font-size: 48px;
  font-weight: 500;
}

.next-project svg {
  width: 32px;
  height: 32px;
}

/* About Page */
.about-intro {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 60px;
  padding: 20px 0 80px;
  align-items: center;
}

.portrait-composition {
  position: relative;
  max-width: 330px;
}

.portrait-composition img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1);
}

.portrait-composition .about-star {
  position: absolute;
  width: 90px;
  height: 90px;
  bottom: -30px;
  right: -30px;
  color: var(--primary);
  animation: revolve 24s linear infinite;
}

.about-intro p {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 500;
}

.journey {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 60px;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.journey h2 {
  font-size: 42px;
  font-weight: 500;
  margin: 15px 0 30px;
}

.journey-entries {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.journey-entries article {
  border-bottom: 1px solid var(--border);
  padding-bottom: 35px;
}

.journey-entries h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 10px 0 12px;
}

.journey-entries p {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.journey-subhead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 25px;
  max-width: 300px;
}

.creed-quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 34px;
  line-height: 1.35;
  color: var(--foreground);
  margin: 25px 0 35px 0;
  max-width: 900px;
  border-left: 3px solid var(--primary);
  padding-left: 24px;
}

.practice {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.practice p {
  font-size: 38px;
  line-height: 1.35;
  margin-top: 20px;
  font-weight: 500;
  color: var(--foreground);
}

/* Contact Page */
.contact-page {
  min-height: 800px;
}

.contact-page h1 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-page h1 svg {
  width: 90px;
  height: 90px;
  color: var(--primary);
  animation: revolve 20s linear infinite;
}

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-bottom p {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 35px;
}

.book-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--foreground);
  color: var(--background);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
}

.book-call:hover {
  background: var(--primary);
}

.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-links > a,
.contact-links .email-row {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-links > a:hover {
  color: var(--primary);
}

.contact-links .email-row {
  padding: 13px 0;
}

.email-row > a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.email-row button {
  margin-left: auto;
  flex-shrink: 0;
  padding: 8px;
}

.contact-address {
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* Keyframes */
@keyframes revolve {
  to {
    transform: rotate(360deg);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Conversion Sections */
.home-offer {
  padding: 80px 4% 20px;
}

.home-offer .section-line {
  margin-bottom: 45px;
}

.home-offer h2 {
  font-size: 64px;
  line-height: 1.02;
  font-weight: 500;
  margin: 0 0 45px;
  max-width: 900px;
}

.offer-accent {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.offer-card .mono {
  color: var(--muted-foreground);
}

#main > .home-offer .offer-card .mono,
.services-grid .service-card > .mono,
.service-detail-page .home-offer a.offer-card .mono {
  color: var(--primary);
}

#main > .home-offer a.offer-card:hover h3,
.service-detail-page .home-offer a.offer-card:hover h3 {
  color: var(--primary);
}

.offer-card h3 {
  font-size: 26px;
  font-weight: 500;
  margin: 14px 0 10px;
}

.offer-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0;
}

.offer-note {
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin: 50px 0 24px;
  color: var(--muted-foreground);
}

/* Services page */
.services-page h1 svg {
  width: 74px;
  height: 74px;
  margin-left: 12px;
  color: var(--primary);
  animation: revolve 20s linear infinite;
}

.services-intro {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0 0 70px;
}

.services-grid-line {
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 28px;
}

.service-card {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.service-card .mono {
  color: var(--muted-foreground);
}

.service-card h2 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  margin: 16px 0 12px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0 0 16px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.service-card li::before {
  content: '—';
  margin-right: 8px;
  color: var(--primary);
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}

.service-detail-link svg {
  width: 14px;
  height: 14px;
}

.service-detail-link:hover {
  text-decoration: underline;
}

/* Service detail pages reuse the existing project and offer UI */
.service-detail-page .project-heading h1 {
  font-size: 112px;
  margin: 18px 0 34px;
}

.service-detail-page .project-lede {
  margin-top: -10px;
  margin-bottom: 40px;
}

.service-detail-page .project-facts {
  gap: 44px;
  margin-bottom: 0;
}

.service-detail-page .home-offer {
  padding: 0;
}

.service-detail-page .home-offer:first-of-type {
  padding-bottom: 40px;
}

.service-detail-page .home-offer .section-line {
  margin-bottom: 38px;
}

.service-detail-page .home-offer h2 {
  font-size: 54px;
  margin: 0 0 38px;
}

.service-detail-page .offer-card h3 {
  font-size: 24px;
}

.service-detail-page .project-notes {
  padding: 50px 0;
}

.service-detail-page .project-notes h2 {
  font-size: 34px;
}

.service-detail-page .fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
}

.service-detail-page .fit-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-foreground);
  padding: 6px 0;
}

.services-process {
  margin-top: 100px;
}

.services-process h2 {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 500;
  max-width: 780px;
  margin: 45px 0 50px;
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-process-grid p {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

.services-process-grid strong,
.service-detail-page .project-notes p strong {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-note {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 45px 0 24px;
}

.home-testimonials {
  padding: 70px 4% 90px;
}

.home-testimonials h2 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.05;
  margin: 30px 0 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  margin: 0;
  border: 1px solid var(--border);
  padding: 26px;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.testimonial-card footer .mono {
  color: var(--muted-foreground);
  font-size: 11px;
}

.project-cta {
  border-top: 1px solid var(--border);
  margin: 70px 0 50px;
  padding-top: 35px;
}

.project-cta h2 {
  font-size: 44px;
  font-weight: 500;
  margin: 16px 0 12px;
}

.project-cta p {
  max-width: 620px;
  line-height: 1.6;
  margin: 0 0 24px;
  color: var(--muted-foreground);
}

@media (max-width: 800px) {
  .home-offer h2 {
    font-size: 42px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .services-process-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .service-detail-page .project-heading h1 {
    font-size: 74px;
  }
  .service-detail-page .home-offer h2 {
    font-size: 40px;
  }
  .blog-service-links li {
    flex-direction: column;
    gap: 4px;
  }
  .services-page h1 svg {
    width: 46px;
    height: 46px;
  }
  .services-process h2 {
    font-size: 36px;
  }
  .home-testimonials h2 {
    font-size: 38px;
  }
}

/* Responsive Rules from hello-there */
@media (min-width: 1400px) {
  .name-stage h1 {
    font-size: 220px;
  }
  .opening {
    min-height: 790px;
  }
  .opening-bottom {
    margin-top: 70px;
  }
  .project-art {
    height: 610px;
  }
}

@media (min-width: 1800px) {
  .name-stage h1 {
    font-size: 280px;
  }
  .opening {
    min-height: 940px;
  }
}

@media (max-width: 1100px) {
  .name-stage h1 {
    font-size: 140px;
  }
  .opening {
    min-height: 610px;
  }
  .between-strip {
    font-size: 12px;
  }
  .content-page h1 {
    font-size: 80px;
  }
  .contact-page h1 {
    font-size: 80px;
  }
  .contact-page h1 svg {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 800px) {
  .name-stage h1 {
    font-size: 105px;
  }
  .opening {
    min-height: 540px;
  }
  .name-stage {
    margin-top: 60px;
  }
  .between-strip {
    width: 70%;
    font-size: 10px;
    padding: 8px 12px;
  }
  .opening-statement {
    font-size: 23px;
  }
  .practice-note {
    display: none;
  }
  .opening-bottom {
    margin-top: 65px;
  }
  .exhibit-top h2 {
    font-size: 30px;
  }
  .project-art {
    height: 430px;
  }
  .content-page h1 {
    font-size: 65px;
  }
  .work-gallery {
    column-gap: 4%;
  }
  .work-item .project-art {
    height: 300px;
  }
  .header-role {
    display: none;
  }
}

@media (max-width: 600px) {
  .name-stage h1 {
    font-size: 68px;
    line-height: 0.92;
  }
  .between-strip {
    width: 87%;
    font-size: 8px;
    padding: 8px 9px;
  }
  .between-strip svg {
    width: 18px;
    height: 18px;
  }
  .registration {
    font-size: 15px;
  }
  .reg-one {
    left: -7px;
  }
  .reg-two {
    right: -7px;
  }
  .opening-bottom {
    margin-top: 57px;
  }
  .opening-statement {
    font-size: 20px;
  }
  .scroll-button span {
    font-size: 7px;
  }
  .scroll-button {
    gap: 8px;
  }
  .scroll-button svg {
    width: 20px;
  }
  .dock {
    bottom: 18px;
    padding: 5px;
    width: max-content;
    max-width: 95%;
  }
  .dock a {
    padding: 11px 12px;
    font-size: 10px;
    gap: 5px;
  }
  .full-menu {
    padding: 120px 5% 120px;
  }
  .full-menu a {
    font-size: 48px;
    gap: 15px;
    padding: 12px 0;
  }
  .full-menu a svg {
    width: 30px;
    height: 30px;
  }
  .content-page {
    padding: 25px 5% 65px;
  }
  .content-page h1 {
    font-size: 58px;
    margin: 40px 0;
  }
  .page-title-row {
    display: block;
  }
  .page-title-row p {
    font-size: 13px;
    margin-bottom: 30px;
  }
  .filters {
    gap: 1px;
    padding: 20px 0 30px;
  }
  .filters button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .work-gallery {
    grid-template-columns: 1fr;
    row-gap: 35px;
  }
  .work-item:nth-child(even) {
    margin-top: 0;
  }
  .work-item .project-art {
    height: 350px;
  }
  .project-heading h1 {
    font-size: 78px;
  }
  .project-notes {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .project-notes h2 {
    font-size: 28px;
  }
  .next-project {
    gap: 20px;
  }
  .next-project > span:nth-child(2) {
    font-size: 30px;
  }
  .about-page h1 {
    font-size: 48px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    padding: 10px 0 50px;
    gap: 30px;
  }
  .about-star {
    width: 90px;
    height: 90px;
  }
  .about-intro p {
    font-size: 22px;
  }
  .journey {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .journey h2 {
    font-size: 30px;
  }
  .journey > div > svg {
    display: none;
  }
  .practice p {
    font-size: 24px;
  }
  .contact-page {
    min-height: 700px;
  }
  .contact-page h1 {
    font-size: 53px;
    padding-right: 0;
  }
  .contact-page h1 svg {
    position: relative;
    display: block;
    margin-top: 25px;
    width: 65px;
    height: 65px;
  }
  .contact-bottom {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 25px;
  }
  .contact-bottom p {
    font-size: 17px;
  }
  .real-art {
    padding: 12px;
  }
  .project-lede {
    font-size: 18px;
    margin: 0 0 30px;
  }
  .project-facts {
    gap: 24px;
    flex-wrap: wrap;
  }
  .project-facts a {
    margin-left: 0;
    padding: 0;
  }
  .project-facts p {
    font-size: 12px;
  }
  .case-gallery figure {
    margin-bottom: 30px;
  }
  .portrait-composition {
    max-width: 240px;
    margin-bottom: 20px;
  }
  .portrait-composition .about-star {
    width: 65px;
    height: 65px;
    right: -25px;
    bottom: -20px;
  }
  .contact-address {
    font-size: 12px;
  }
  .project-open svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 370px) {
  .name-stage h1 {
    font-size: 59px;
  }
  .between-strip {
    font-size: 7px;
  }
  .dock a {
    padding: 10px 9px;
  }
  .content-page h1 {
    font-size: 48px;
  }
  .about-page h1 {
    font-size: 40px;
  }
  .contact-page h1 {
    font-size: 47px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .name-stage h1 span {
    transform: none;
  }
  .art-link:hover .art-mark,
  .work-item a:hover .art-mark {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   JOURNAL / BLOG
   -------------------------------------------------------------------------- */
.blog-main {
  max-width: none;
  margin: 0;
  padding: 35px 4% 90px;
  min-height: 80vh;
}
.blog-main h2,
.blog-main h3 {
  font-weight: 500;
}
.blog-hero {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.blog-hero p {
  max-width: 620px;
  font-size: 18px;
}
.blog-title-star {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.18em;
  vertical-align: -0.02em;
  color: var(--primary);
  animation: revolve 20s linear infinite;
}
.blog-card {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.blog-list {
  max-width: 980px;
  margin-inline: auto;
}
.blog-card h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  margin: 12px 0;
}
.blog-card h2 a:hover {
  color: var(--primary);
}
.blog-card p {
  max-width: 720px;
  color: var(--muted-foreground);
}
.blog-card-meta,
.blog-byline,
.breadcrumbs {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.blog-read {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}
.blog-byline {
  margin-bottom: 32px;
}
.blog-post h1 em {
  font-weight: 500;
}
.blog-lede {
  font-size: 20px;
  font-weight: 500;
  max-width: 760px;
}
.blog-cover {
  max-width: 980px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.blog-cover img,
.blog-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-card-image {
  max-width: 320px;
  margin-bottom: 12px;
}
.blog-separator {
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--border);
  margin: 32px 0 48px;
}
.blog-content {
  max-width: 740px;
  margin: 48px auto;
  font-size: 17px;
  line-height: 1.75;
}
.blog-content h2 {
  font-size: 44px;
  line-height: 1;
  margin: 56px 0 20px;
}
.blog-content h3 {
  font-size: 28px;
  margin: 36px 0 12px;
}
.blog-content p,
.blog-content ul,
.blog-content ol {
  margin: 0 0 20px;
}
.blog-content a {
  color: var(--primary);
  text-decoration: underline;
}
.blog-content pre {
  background: var(--secondary);
  padding: 20px;
  margin: 0 0 24px;
  max-width: 100%;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.blog-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.blog-content pre code {
  white-space: inherit;
  overflow-wrap: inherit;
  word-break: inherit;
}
.blog-sources,
.blog-related,
.blog-related-work,
.blog-service-links {
  max-width: 740px;
  margin: 48px auto;
}
.blog-sources h2,
.blog-related h2,
.blog-related-work h2,
.blog-service-links h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.blog-sources ul,
.blog-related ul,
.blog-related-work ul,
.blog-service-links ul {
  list-style: none;
  padding: 0;
}
.blog-sources li,
.blog-related li,
.blog-related-work li,
.blog-service-links li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.blog-related-work li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.blog-related-work li a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.blog-related-work li a:hover {
  text-decoration: underline;
}
.blog-service-links li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.blog-service-links li a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.blog-service-links li a:hover {
  text-decoration: underline;
}
.blog-service-links li span {
  font-size: 14px;
  color: var(--muted-foreground);
}
.service-links-contact {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--foreground);
  text-decoration: none;
}
.service-links-contact:hover {
  color: var(--primary);
}
.blog-cta {
  max-width: 740px;
  margin: 64px auto 0;
  padding: 40px;
  background: var(--primary);
  color: var(--primary-foreground);
}
.blog-cta h2 {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 16px;
}
.blog-cta .btn-primary {
  display: inline-block;
  margin-top: 20px;
  background: var(--foreground);
  color: var(--background);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .blog-card h2 { font-size: 30px; }
}
@media (max-width: 700px) {
  .blog-main { padding: 25px 5% 65px; }
  .blog-content {
    font-size: 16px;
  }
}
