/* Atlantic Shirt Shop — artist-led studio */
:root {
  --ink: #101418;
  --ink-soft: #2a323a;
  --fog: #eef1f4;
  --paper: #f7f8fa;
  --line: #d4dae2;
  --accent: #0e6e6b;
  --accent-deep: #0a5250;
  --print-red: #b8332a;
  --muted: #5c6773;
  --max: 1120px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-ui: "Syne", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-deep);
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand img {
  width: 88px;
  height: 64px;
  object-fit: contain;
}

.nav-links {
  display: none;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.55rem 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--paper) !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

/* —— Buttons —— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  border: 2px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper) !important;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

/* —— Hero (full-bleed, one composition) —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--fog);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(14, 110, 107, 0.45), transparent 60%),
    linear-gradient(160deg, #1a2229 0%, #0c1014 55%, #152028 100%);
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='52' cy='12' r='3'/%3E%3Ccircle cx='14' cy='48' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 20, 24, 0.92) 0%,
    rgba(16, 20, 24, 0.45) 42%,
    rgba(16, 20, 24, 0.15) 100%
  );
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1.5%, 1%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
}

.hero-logo {
  width: clamp(150px, 24vw, 240px);
  margin-bottom: 1.25rem;
  filter: invert(1);
  mix-blend-mode: screen;
}

.hero h1 {
  color: var(--fog);
  max-width: 14ch;
}

.hero .lede {
  color: color-mix(in srgb, var(--fog) 82%, transparent);
  margin: 0;
}

.hero .btn-primary {
  background: var(--fog);
  color: var(--ink) !important;
  border-color: var(--fog);
}

.hero .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fog) !important;
}

.hero .btn-secondary {
  border-color: color-mix(in srgb, var(--fog) 55%, transparent);
  color: var(--fog) !important;
}

.hero .btn-secondary:hover {
  background: var(--fog);
  border-color: var(--fog);
  color: var(--ink) !important;
}

/* —— Points / work grid —— */
.point-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .point-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.point h3 {
  margin-bottom: 0.35rem;
}

.point p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  text-decoration: none;
  color: var(--fog) !important;
}

.work-tile-art {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

.work-tile:hover .work-tile-art {
  transform: scale(1.05);
}

.work-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-tile:hover > img {
  transform: scale(1.05);
}

.work-tile:nth-child(1) .work-tile-art {
  background: linear-gradient(145deg, #0e6e6b, #1a2a32 60%, #b8332a);
}
.work-tile:nth-child(2) .work-tile-art {
  background: linear-gradient(200deg, #2c3e50, #0e6e6b 50%, #101418);
}
.work-tile:nth-child(3) .work-tile-art {
  background: linear-gradient(120deg, #b8332a, #101418 55%, #3d4f5f);
}
.work-tile:nth-child(4) .work-tile-art {
  background: linear-gradient(160deg, #1e3a3a, #4a6b6a, #101418);
}
.work-tile:nth-child(5) .work-tile-art {
  background: linear-gradient(30deg, #101418, #0e6e6b 40%, #d4dae2);
}
.work-tile:nth-child(6) .work-tile-art {
  background: linear-gradient(210deg, #5c6773, #101418 45%, #0e6e6b);
}

.work-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(16, 20, 24, 0.9), transparent);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
}

.work-tile-label small {
  display: block;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 0.2rem;
}

/* —— Split / band —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.band {
  background: var(--ink);
  color: var(--fog);
}

.band .muted,
.band .lede {
  color: color-mix(in srgb, var(--fog) 72%, transparent);
}

.band-soft {
  background: linear-gradient(180deg, var(--fog), var(--paper));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* —— Offer list —— */
.offer-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.offer-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 700px) {
  .offer-list li {
    grid-template-columns: 12rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.offer-list strong {
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.offer-list span {
  color: var(--muted);
  font-size: 1.05rem;
}

/* —— Filters —— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0.5rem;
}

.filter-btn {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.work-tile[hidden] {
  display: none;
}

/* —— Quote form —— */
.form-shell {
  max-width: 40rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.check-row input {
  width: auto;
  margin-top: 0.35rem;
}

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  margin-top: 1rem;
}

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

/* —— Page hero (inner) —— */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--paper)), var(--paper) 50%);
}

.page-hero h1 {
  max-width: 16ch;
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.footer-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-links a {
  text-decoration: none;
}
