/* ==========================================================================
   Dan Bolsen — danbolsen.com
   Reconstructed from GoDaddy Website Builder export (reconstruction, not redesign).
   Source of truth: computed styles captured from the rendered original
   at 375 / 768 / 1024 / 1280 / 1440 / 1536 px viewports.
   ========================================================================== */

/* ---------- Fonts (localized from _assets, originally Google Fonts) ---------- */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/playfair-display-latin-ext.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: 'Playfair Display';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/playfair-display-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.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: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/open-sans-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Open Sans', Arial, sans-serif;
  --ink: #151515;          /* logo, headings, nav links */
  --ink-2: #1b1b1b;        /* form title, drawer links */
  --ink-3: #575757;        /* nav list items */
  --muted: #5e5e5e;        /* body copy */
  --muted-2: #595959;      /* footer, form details */
  --line: #e2e2e2;         /* input underlines */
  --soft: #f3f3f3;         /* hero panel, drawer background */
  --black: #000;
  --white: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  background: var(--white);
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

a {
  color: var(--black);
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* GoDaddy breakpoints: the container narrows at 1024-1279 and widens at 1536+ */
@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 984px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1280px;
  }
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
}

/* Mobile / tablet top bar (≤1023): hamburger + centered logo + spacer */
.header-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  flex: 0 0 auto;
}

.mobile-logo-wrap {
  flex: 1 1 auto;
  text-align: center;
}

.header-spacer {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

/* Desktop top bar (≥1024): logo row + centered nav row, 200px total */
.header-desktop-bar {
  display: none;
}

/* Logo: bordered text box */
.logo {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  margin: 0;
}

.logo-box {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.031em;
  color: var(--ink);
  text-align: center;
  text-transform: none;
}

/* Desktop navigation */
.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.site-nav li {
  display: inline-block;
  color: var(--ink-3);
}

.site-nav li + li {
  padding-left: 32px;
}

.site-nav a {
  display: block;
  padding: 6px;
  margin: -6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.214em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

/* Active page link: 1px underline, matches original (pad 0 0 4px / margin 0 0 -5px) */
.site-nav a[aria-current="page"] {
  padding: 0 0 4px;
  margin: 0 0 -5px;
  border-bottom: 1px solid var(--black);
}

.site-nav a:hover {
  opacity: 0.6;
}

/* ---------- Hero (home) ---------- */

.hero-wrap {
  margin-bottom: 24px;
}

.hero-row {
  display: flex;
  flex-direction: column;
}

.hero-media {
  width: 100%;
}

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

.hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--soft);
  padding: 56px 24px;
}

.hero-title {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.023em;
  color: var(--ink);
  text-align: center;
}

/* ---------- Content sections ---------- */

.content-section {
  padding: 32px 0;
  background: var(--white);
}

/* The original grid spans the full container width via negative margins;
   the cell inside is a percentage of that full width, centered. */
.content-grid {
  display: flex;
  justify-content: center;
  width: calc(100% + 24px);
  margin: 0 -12px;
}

.content-col {
  margin: 0;
  padding: 0 12px;
}

.prose {}

.prose p {
  margin: 0;
}

.prose p:empty {
  line-height: 24px;
  min-height: 24px;
}

.prose a {
  color: var(--ink);
}

/* ---------- Social links widget ---------- */

.social-section {
  padding: 32px 0;
  background: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px;
  /* The original widget uses content-box sizing: 960 content + 40 padding */
  box-sizing: content-box;
}

.social-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn i {
  font-size: 22px;
}

.social-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 12px;
  background: #1a1a2e;
  color: #fff;
  font: 500 13px system-ui, sans-serif;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: #1a1a2e;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.social-btn:hover::after,
.social-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

.social-btn:hover::after {
  transform: translateX(-50%) translateY(-12px);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 32px 0;
  background: var(--white);
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.083em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}

/* ---------- About page: image + text grid ---------- */

.about-grid {
  display: flex;
  flex-direction: column;
  width: calc(100% + 24px);
  margin: 0 -12px;
}

.about-media,
.about-text {
  padding: 0 12px;
}

.about-media img {
  display: inline-block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}

/* ---------- In The News ---------- */

.news-content {
  max-width: 725px;
}

.news-title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.045em;
  color: var(--ink-2);
  text-align: center;
}

.news-list {
  margin: 0 16px;
  padding: 0 0 0 1.3em; /* em-based like the original: 20.8px at 16px, 23.4px at 18px */
  text-align: left;
  text-wrap-style: pretty; /* original: .c1-7g > ul { text-wrap-style: pretty } (containing block governs wrapping) */
}

.news-list li {
  margin: 0;
  padding: 0;
}

.news-list a {
  font-size: inherit; /* scale with body (16px → 18px at ≥1536px) like the original */
  line-height: 24px;
  color: var(--black);
  text-decoration: underline;
  overflow-wrap: break-word; /* original applies break-word to news links (changes wrap points) */
  text-wrap-style: pretty; /* original: .c1-6s { text-wrap-style: pretty } — rebalances lines to avoid lone-word last lines */
}

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 725px;
}

.form-title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25; /* em-based: 27.5px at 22px, 30px at 24px (1536+) */
  letter-spacing: 0.045em;
  color: var(--ink-2);
  text-align: center;
}

.field {
  position: relative;
  margin-bottom: 24px;
}

/* original's field→button gap is 29px (message field), others 24px */
.field-message {
  margin-bottom: 29px;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 23px 8px 8px;
  font-family: var(--font-sans);
  font-size: inherit; /* scale with body font (16px → 18px at ≥1536px) like the original */
  line-height: normal;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

.field textarea {
  line-height: 1.75; /* em-based, matches original (4 rows × 1.75em + 32px padding) */
  padding: 16px 8px;
  border: 1px solid var(--line);
  resize: vertical;
}

.field label {
  position: absolute;
  top: 23px;
  left: 8px;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s, font-size 0.2s;
  transform-origin: left top;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-15px) scale(0.75);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-bottom: 24px;
  padding: 8px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.214em;
  text-transform: uppercase;
  color: #c6c6c6;
  background: var(--black);
  border-radius: 0;
  line-height: normal;
}

.form-submit:hover {
  color: var(--white);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}

.form-status.is-error {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}

.form-details {
  margin: 0;
  padding: 8px 0 16px;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted-2);
  text-align: center;
}

.form-details a {
  color: var(--muted-2);
}

/* ---------- Mobile navigation drawer ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  padding: 56px 0 0;
  background: var(--soft);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  padding: 6px;
  color: var(--black);
}

.mobile-nav-panel {
  width: 100%;
  padding: 0 32px;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: flex;
  padding: 16px 24px;
  font-size: 22px;
  line-height: normal;
  letter-spacing: 0.136em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
}

.mobile-nav a[aria-current="page"] {
  font-weight: 700;
}

/* ---------- Breakpoints ---------- */

/* Tablet: hero goes side-by-side; mobile nav still active; logo scales up */
/* Tablet-portrait bucket of the original scaler: hero jumps to 32px at 640px */
@media (min-width: 640px) and (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }
}

@media (min-width: 768px) {
  .hero-wrap {
    margin-bottom: 40px;
  }

  .social-section {
    padding: 40px 0;
  }

  .content-section {
    padding: 40px 0;
  }

  .site-footer {
    padding: 56px 0;
  }

  .logo-box {
    font-size: 30px;
  }

  .about-grid {
    width: calc(100% + 48px);
    margin: 0 -24px;
    align-items: center; /* original centers the 83.3333% cell inside the full-width grid */
  }

  .about-media,
  .about-text {
    width: 83.3333%;
    padding: 0 24px;
  }

  .content-grid {
    width: calc(100% + 48px);
    margin: 0 -24px;
  }

  .content-col {
    width: 83.3333%;
    padding: 0 24px;
  }

  .hero-row {
    flex-direction: row;
  }

  .hero-media {
    flex: 0 0 50%;
    max-width: 667px;
  }

  .hero-body {
    flex: 1 1 auto;
    padding: 40px;
  }

  .hero-title {
    font-size: 22px;
  }

  .news-title {
    font-size: 30px;
  }

  .form-title {
    text-align: left;
  }
}

/* Desktop: full nav replaces the mobile bar */
@media (min-width: 1024px) {
  .content-col {
    width: 66.6667%;
    padding: 0 24px; /* original GridCell padding is 24px (608/725/805px content at 1024/1280-1440/1536) */
  }

  .about-grid {
    flex-direction: row;
    width: calc(100% + 48px);
    margin: 0 -24px;
    align-items: stretch; /* reset the @768 centering — original top-aligns media/text in the row */
  }

  .about-media,
  .about-text {
    padding: 0 24px;
  }

  .about-media {
    flex: 0 0 33.3333%;
  }

  .about-text {
    flex: 1 1 auto;
  }

  .content-col {
    width: 66.6667%;
  }

  .header-mobile-bar {
    display: none;
  }

  .header-desktop-bar {
    display: block;
    padding: 32px 0;
  }

  .logo-box {
    font-size: 24px;
  }

  .header-logo-row {
    display: flex;
    justify-content: center;
    padding: 24px 0 0;
  }

  .header-logo-col {
    display: flex;
    justify-content: center;
  }

  .header-nav-row {
    display: flex;
    justify-content: center;
    padding: 24px 0;
  }

  .site-nav {
    display: block;
  }

  .hero-media {
    flex-basis: 58.5%;
  }

  .hero-title {
    font-size: 30px;
  }

  .news-title {
    font-size: 30px;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  .hero-media {
    flex-basis: 60%;
    max-width: 667px;
  }

  .hero-title {
    font-size: 32px;
  }

  .news-title {
    font-size: 32px;
  }
}

/* Extra-wide desktop: container widens to 1280, type scales up */
@media (min-width: 1536px) {
  .hero-media {
    flex: 0 0 667px; /* fixed like the original: 54% of the padded row would give 665px */
  }

  body {
    font-size: 18px;
    line-height: 27px;
  }

  .prose p:empty {
    line-height: 27px;
    min-height: 27px;
  }

  .site-nav a {
    font-size: 16px;
    letter-spacing: 0.214em;
  }

  .hero-title {
    font-size: 48px;
  }

  .news-title {
    font-size: 36px;
  }

  /* content columns widen with the 1280px container (62.5% of 1160 → 805px) */
  .news-content,
  .contact-form {
    max-width: 805px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-details {
    font-size: 14px;
    line-height: 21px;
  }

  .footer-copyright {
    font-size: 14px;
    line-height: 21px;
  }
}
