
@layer base {
  :root {
    --background: 30 7% 5%;
    --foreground: 43 33% 89%;
    --card: 30 7% 7%;
    --card-foreground: 43 33% 89%;
    --popover: 30 7% 7%;
    --popover-foreground: 43 33% 89%;
    --primary: 40 32% 58%;
    --primary-foreground: 30 7% 5%;
    --secondary: 30 7% 12%;
    --secondary-foreground: 43 33% 89%;
    --muted: 30 7% 12%;
    --muted-foreground: 35 9% 64%;
    --accent: 40 32% 58%;
    --accent-foreground: 30 7% 5%;
    --destructive: 0 65% 50%;
    --destructive-foreground: 0 0% 98%;
    --border: 40 13% 22%;
    --input: 40 13% 22%;
    --ring: 40 32% 58%;
    --radius: 0.125rem;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Manrope', sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 7px;
}

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

h1,
h2,
p,
figure {
  margin: 0;
}

h1,
h2,
.footer-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
}

em {
  font-weight: 400;
  color: hsl(var(--primary));
}

.site-header {
  max-width: 1440px;
  margin: auto;
  padding: 14px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wordmark {
  width: min(100%, 350px);
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  letter-spacing: .12em;
}

.wordmark img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: fill;
}

.site-header nav {
  display: flex;
  flex-shrink: 0;
  gap: 38px;
  font-size: 12px;
  white-space: nowrap;
}

.site-header nav a {
  padding: 12px 0;
  transition: color .2s ease;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: hsl(var(--primary));
}

.site-header nav span {
  color: hsl(var(--primary));
  margin-left: 8px;
}

.hero {
  position: relative;
  max-width: 1440px;
  margin: auto;
  padding: 68px 12% 105px;
  min-height: calc(100dvh - 94px);
}

.eyebrow,
.hero-rail,
.scroll-link,
.hero-note,
.section-caption,
figcaption {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
}

.eyebrow {
  color: hsl(var(--primary));
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(76px, 8.6vw, 132px);
  line-height: .93;
  letter-spacing: -.035em;
}

.hero h1 em {
  letter-spacing: -.045em;
}

.hero-rail {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 6%;
  right: 6%;
  top: 25px;
  color: hsl(var(--muted-foreground));
  font-size: 8px;
  letter-spacing: .2em;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-intro {
  display: flex;
  align-items: start;
  gap: 20px;
  margin: 35px 0 28px;
}

.hero-intro p {
  font-size: 13px;
  line-height: 1.9;
  color: hsl(var(--muted-foreground));
}

.gold-rule {
  width: 32px;
  height: 1px;
  background: hsl(var(--primary));
  margin-top: 12px;
  flex-shrink: 0;
}

.facebook-button {
  display: inline-flex;
  gap: 27px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 23px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 11px;
  font-weight: 700;
  border: 1px solid hsl(var(--primary));
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.facebook-button:hover {
  background: transparent;
  color: hsl(var(--primary));
}

.facebook-button:active {
  transform: scale(.98);
}

.hero-side {
  position: absolute;
  right: 13%;
  top: 125px;
  width: 210px;
  text-align: center;
}

.hero-side>span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: hsl(var(--primary) / .075);
  font-size: 180px;
  letter-spacing: -.12em;
}

.hero-side p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: hsl(var(--muted-foreground));
  margin-top: 65px;
}

.dagger {
  position: absolute;
  width: 75px;
  height: 270px;
  top: 75px;
  left: 70px;
  transform: rotate(18deg);
}

.dagger i {
  position: absolute;
  width: 9px;
  height: 68px;
  left: 33px;
  top: 0;
  border: 1px solid hsl(var(--primary));
  background: repeating-linear-gradient(0deg, transparent 0 6px, hsl(var(--primary) / .65) 7px 8px);
  border-radius: 4px 4px 0 0;
}

.dagger b {
  position: absolute;
  top: 64px;
  left: 0;
  width: 75px;
  height: 12px;
  border-top: 2px solid hsl(var(--primary));
  border-bottom: 1px solid hsl(var(--primary));
  border-radius: 50%;
}

.dagger div {
  position: absolute;
  top: 76px;
  left: 26px;
  width: 23px;
  height: 190px;
  background: linear-gradient(90deg, hsl(var(--primary) / .2), hsl(var(--primary) / .8) 48%, hsl(var(--primary) / .35) 50%);
  clip-path: polygon(0 0, 100% 0, 76% 78%, 50% 100%, 24% 78%);
}

.scroll-link {
  position: absolute;
  bottom: 38px;
  left: 12%;
  display: flex;
  gap: 18px;
  align-items: center;
  color: hsl(var(--primary));
  font-size: 8px;
  min-height: 44px;
}

.hero-note {
  position: absolute;
  right: 6%;
  bottom: 55px;
  color: hsl(var(--muted-foreground));
  font-size: 8px;
}

.about-section {
  max-width: 1440px;
  margin: auto;
  padding: 105px 6% 110px;
  display: grid;
  grid-template-columns: 1fr 2.5fr 2fr;
  gap: 55px;
  border-top: 1px solid hsl(var(--border));
}

.section-caption {
  color: hsl(var(--primary));
  font-size: 9px;
  padding-top: 4px;
}

.section-caption p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  letter-spacing: 0;
  color: hsl(var(--muted-foreground));
  margin-top: 28px;
  line-height: 1.4;
}

h2 {
  font-size: clamp(45px, 4.5vw, 66px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.about-copy .eyebrow {
  margin-bottom: 17px;
}

.about-copy h2 {
  margin-bottom: 30px;
}

.about-copy>p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.95;
  color: hsl(var(--muted-foreground));
  margin-bottom: 18px;
}

.about-image {
  align-self: center;
}

.about-image img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: 44% center;
}

.about-image figcaption {
  font-size: 8px;
  color: hsl(var(--primary));
  margin-top: 19px;
  text-align: right;
}

.connect-section {
  padding: 85px 24px 100px;
  text-align: center;
  background: hsl(var(--secondary) / .42);
}

.connect-section .eyebrow {
  margin-bottom: 22px;
}

.connect-inner {
  max-width: 760px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  text-align: left;
}

.connect-copy>p:not(.eyebrow) {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  line-height: 1.9;
  margin: 25px 0 30px;
}

.connect-portrait {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.newsletter-form {
  margin-top: 26px;
  max-width: 360px;
}

.newsletter-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  color: hsl(var(--primary));
  margin-bottom: 10px;
}

.newsletter-row {
  display: flex;
  gap: 8px;
}

.newsletter-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
}

.newsletter-row input::placeholder {
  color: hsl(var(--muted-foreground) / .7);
}

.newsletter-row input:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 1px;
}

.newsletter-row button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary));
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.newsletter-row button:hover {
  background: transparent;
  color: hsl(var(--primary));
}

.newsletter-row button:active {
  transform: scale(.98);
}

.newsletter-fallback {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: .12em;
  color: hsl(var(--muted-foreground));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-fallback:hover {
  color: hsl(var(--primary));
}

@media(max-width: 640px) {
  .newsletter-form {
    max-width: 100%;
  }

  .newsletter-row {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-row button {
    width: 100%;
  }
}

.site-footer {
  max-width: 1440px;
  margin: auto;
  padding: 46px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-size: 31px;
}

.site-footer p {
  font-size: 8px;
  letter-spacing: .12em;
  color: hsl(var(--muted-foreground));
  margin-top: 13px;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  font-size: 11px;
}

.footer-right p {
  letter-spacing: 0;
  font-size: 10px;
}

.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 20;
  padding: 12px;
  background: hsl(var(--primary));
  color: hsl(var(--background));
}

.skip-link:focus {
  top: 15px;
}

@media(min-width: 1500px) {
  .hero {
    min-height: 800px;
  }
}

@media(max-width: 1000px) {
  .hero-side {
    right: 7%;
    width: 150px;
    opacity: .65;
  }

  .hero-side>span {
    font-size: 130px;
  }

  .dagger {
    left: 42px;
  }

  .hero-side p {
    margin-top: 110px;
    font-size: 21px;
  }

  .about-section {
    gap: 30px;
    grid-template-columns: 1fr 3fr;
  }

  .about-image {
    grid-column: 2;
    max-width: 480px;
  }

  .about-image img {
    height: 240px;
  }
}

@media(max-width: 640px) {
  .site-header {
    padding: 10px 6%;
  }
  .wordmark img { height: 108px; }

  .wordmark {
    width: min(100%, 250px);
    font-size: 18px;
    gap: 6px;
    letter-spacing: .09em;
  }


  .site-header nav {
    gap: 16px;
    font-size: 12px;
  }

  .site-header nav span {
    margin-left: 2px;
  }

  .hero {
    min-height: calc(100dvh - 80px);
    padding: 80px 8% 100px;
  }

  .hero-rail {
    left: 8%;
    top: 20px;
    font-size: 7px;
  }

  .hero-rail span:last-child {
    display: none;
  }

  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 27px;
  }

  .hero h1 {
    font-size: clamp(67px, 14.8vw, 94px);
  }

  .hero-intro {
    margin-top: 30px;
    gap: 13px;
  }

  .hero-intro p {
    font-size: 12px;
  }

  .hero-side {
    display: none;
  }

  .facebook-button {
    font-size: 11px;
    gap: 20px;
  }

  .scroll-link {
    left: 8%;
    bottom: 24px;
  }

  .hero-note {
    display: none;
  }

  .about-section {
    padding: 65px 8%;
    display: block;
  }

  .section-caption {
    margin-bottom: 36px;
  }

  .section-caption p {
    display: none;
  }

  .about-copy h2 {
    font-size: 57px;
  }

  .about-image {
    margin-top: 34px;
  }

  .about-image img {
    height: 230px;
  }

  .connect-section {
    padding: 65px 8% 70px;
  }

  .connect-section h2 {
    font-size: 46px;
  }

  .site-footer {
    padding: 35px 8%;
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-right {
    text-align: left;
  }
}

/* Show the uploaded portrait at its natural proportions without cropping the face. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 4%;
  padding: 95px 6% 120px 12%;
}

.hero h1 {
  font-size: clamp(65px, 7vw, 108px);
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 330px;
  justify-self: center;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.about-section {
  grid-template-columns: minmax(150px, 1fr) minmax(0, 2.5fr);
  gap: 8%;
}

.about-copy {
  max-width: 650px;
}

@media(max-width: 640px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
    min-height: 0;
    padding: 80px 8% 100px;
  }

  .hero h1 {
    font-size: clamp(60px, 14.8vw, 94px);
  }

  .hero-art {
    width: 100%;
    max-width: 260px;
    align-self: center;
  }

  .connect-inner {
    flex-direction: column;
    gap: 35px;
    text-align: center;
  }

  .connect-portrait {
    max-width: 200px;
  }

  .about-section {
    display: block;
  }
}

/* Explicit portrait dimensions keep both images at their natural proportions. */
.hero-art,
.hero-art img {
  width: min(100%, 460px);
  max-width: 460px;
  height: auto;
}

.connect-portrait-wrap,
.connect-portrait {
  width: min(100%, 360px);
  max-width: 360px;
  height: auto;
}

.connect-portrait-wrap {
  flex: 0 0 360px;
}

@media(max-width: 640px) {

  .hero-art,
  .hero-art img {
    width: min(100%, 340px);
    max-width: 340px;
    height: auto;
  }

  .connect-portrait-wrap,
  .connect-portrait {
    width: min(100%, 280px);
    max-width: 280px;
    height: auto;
  }

  .connect-portrait-wrap {
    flex: 0 0 auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.hero {
  background:
    linear-gradient(to top, hsl(var(--background)), transparent 23%),
    linear-gradient(90deg, hsl(var(--background)) 0%, hsl(var(--background) / .76) 35%, transparent 67%),
    url("assets/rainy-city.webp") right center / cover no-repeat;
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(to bottom, hsl(var(--background)) 36%, hsl(var(--background) / .93) 49%, transparent 69%, hsl(var(--background)) 100%),
      url("assets/rainy-city.webp") right bottom / auto 65% no-repeat;
  }
}

.newsletter-signup {
  width: min(100%, 340px);
  margin-top: 32px;
}

.newsletter-signup #mlb2-48375712 .ml-form-embedWrapper {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
}

.newsletter-signup #mlb2-48375712 .ml-form-embedWrapper h4 {
  color: hsl(var(--foreground));
  font: 600 27px 'Cormorant Garamond', Georgia, serif;
}

.newsletter-signup #mlb2-48375712 .ml-form-embedWrapper p {
  color: hsl(var(--muted-foreground));
}

.newsletter-signup #mlb2-48375712 .ml-form-embedSubmit button.primary {
  background: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
}

.newsletter-fallback {
  margin-top: 12px;
  font-size: 12px;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .newsletter-signup {
    margin-inline: auto;
  }
}

.hero-art {
  width: min(100%, 310px);
  max-width: 310px;
}

.hero-art img {
  width: 100%;
  height: auto;
}

.about-brand {
  width: min(100%, 205px);
  align-self: center;
  justify-self: center;
}

.about-brand img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

@media (min-width: 900px) {
  .about-section {
    grid-template-columns: minmax(120px, .8fr) minmax(0, 2.6fr) minmax(140px, 1fr);
    gap: 5%;
  }
}

@media (641px <= width < 900px) {
  .about-brand {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero-art {
    width: min(100%, 235px);
    max-width: 235px;
    align-self: center;
  }

  .about-brand {
    width: min(100%, 160px);
    margin: 26px auto 0;
  }
}

.author-contact {
  padding: clamp(48px, 7vw, 84px) 8%;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

.author-contact p {
  margin-top: 20px;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

.author-contact a {
  color: hsl(var(--primary));
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 520px) {
  .site-header {
    flex-wrap: wrap;
    gap: 4px;
  }

  .site-header nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 0;
  }
}
