:root {
  --navy: #123b63;
  --blue: #325683;
  --slate: #edf0f3;
  --seafoam: #ecf3f0;
  --blush: #f6eff0;
  --light-blue: #e8eff7;
  --light-mauve: #f2eef4;
  --light-peach: #f8f1eb;
  --rule: #123b6333;
  --field-rule: #697e90;
  --font: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --small-text: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  --gutter: clamp(20px, 5vw, 56px);
  --section-space: clamp(57px, 7.1vw, 108px);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--navy); background: white; font: 1.125rem/1.6 var(--font); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h1 { font-size: clamp(38px, 4.9vw, 62px); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(29px, 3.35vw, 43px); font-weight: 500; letter-spacing: -.026em; }
h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.015em; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 10px 14px; background: white; }
.shell { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-space { padding-block: var(--section-space); }

.button, .text-button, .quiet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  font-size: var(--small-text);
  font-weight: 650;
  line-height: 1.35;
  text-align: start;
}
.button {
  padding: 13px 20px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
  text-decoration: none;
}
.button:hover { background: var(--blue); border-color: var(--blue); }
.text-button { padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover, .quiet-link:hover, .site-header nav a:hover { color: var(--blue); text-decoration-thickness: 2px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  min-height: 104px;
  padding-block: 18px;
  border-bottom: 1px solid var(--rule);
}
.brand { width: 190px; min-width: 0; flex-shrink: 0; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 25px; margin-left: auto; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--small-text); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.header-contact { flex-shrink: 0; text-decoration: none; }
.header-contact:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  padding-top: clamp(30px, 4vw, 58px);
}
.hero-copy p { max-width: 53ch; margin-top: 13px; text-wrap: pretty; }
.hero-copy .hero-location { color: var(--blue); font-size: var(--small-text); line-height: 1.5; }
.hero-copy .hero-lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 23px; margin-top: 25px; }
.hero-image { height: clamp(400px, 43vw, 530px); }
.hero-image img { height: 100%; object-fit: contain; border-radius: var(--radius); }

.services-section { margin-top: clamp(30px, 5vw, 68px); padding-block: clamp(34px, 5.2vw, 70px); background: var(--light-blue); }
.services-section > h2 { margin-bottom: clamp(18px, 2.8vw, 30px); }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(16px, 3vw, 34px); }
.service {
  --service-padding: clamp(18px, 3vw, 35px);
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}
.service-summary {
  padding: var(--service-padding);
  background: white;
  border-radius: var(--radius);
}
.service-summary p { max-width: 45ch; margin-top: 9px; }
.service-examples {
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding-inline: var(--service-padding);
}
.service-examples dt { font-weight: 600; }
.service-examples dd { margin: 0; }
@media (min-width: 1024px) {
  .service-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(15px, 2vw, 25px); }
}

.sample-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 23px clamp(16px, 4vw, 50px);
  margin-top: 26px;
}
.sample-work img { aspect-ratio: 1; object-fit: contain; }
.sample-work figcaption { text-align: center; }
.soft-button {
  display: flex;
  width: fit-content;
  margin: clamp(22px, 3.4vw, 42px) auto 0;
  padding-inline: 20px;
  border-radius: var(--radius);
  background: var(--soft-button-background, var(--light-blue));
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.soft-button:hover { background: var(--slate); text-decoration: underline; }
.gallery-intro { padding-block: clamp(32px, 5vw, 66px) clamp(23px, 3vw, 38px); }
.gallery-nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 15px; }
.gallery-return { margin-top: 18px; }
.gallery-group { padding-block: clamp(29px, 5vw, 62px); }
#clothing { background: var(--light-blue); }
#home { background: var(--light-mauve); }
.gallery-nav a[href="#bags"], #bags > h2 { color: #006664; }
.gallery-nav a[href="#home"], #home > h2 { color: #963b2a; }
.gallery-nav a[href="#repairs"], #repairs > h2 { color: #9b2d7a; }
#repairs .sample-work > :only-child { grid-column: 1 / -1; width: min(100%, 380px); }

.gallery-item { min-width: 0; }
.gallery-views { margin-top: 4px; text-align: center; }
.gallery-views summary {
  width: fit-content;
  min-height: 44px;
  margin-inline: auto;
  padding: 10px 0;
  font-size: var(--small-text);
  font-weight: 650;
  cursor: pointer;
}
.gallery-views summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.gallery-views figure { margin: 6px 0 4px; }
.gallery-views img { aspect-ratio: auto; max-height: 310px; }
.gallery-views figcaption { font-weight: 400; }

figcaption { padding-top: 9px; font-size: var(--small-text); font-weight: 600; line-height: 1.35; }

.split { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); align-items: start; gap: 23px clamp(26px, 7vw, 115px); }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 15px; }
.lucia-section { background: var(--seafoam); padding-block: clamp(42px, 4vw, 58px); }
.lucia-layout { display: grid; grid-template-columns: minmax(0, 46ch) minmax(0, 160px); align-items: center; justify-content: center; gap: 24px clamp(36px, 6vw, 88px); }
.lucia-layout .prose { max-width: 46ch; }
.lucia-layout h2 { margin-bottom: 19px; }
.lucia-photo { width: min(100%, 160px); margin-inline: auto; }
.testimonials { padding-block: clamp(46px, 5.3vw, 76px); text-align: center; }
.testimonials .soft-button { --soft-button-background: var(--seafoam); }
.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 26px);
  margin: 26px 0 15px;
}
.review-list figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  padding: clamp(20px, 3vw, 36px) clamp(14px, 2vw, 28px);
  border-radius: var(--radius);
  background: var(--review-tint, var(--light-mauve));
}
.review-list figure:first-child { --review-tint: var(--light-blue); }
.review-list figure:last-child { --review-tint: var(--light-peach); }
.review-list blockquote {
  align-self: center;
  margin: 0;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.45;
  text-wrap: balance;
}
.review-list figcaption { padding-top: 0; }
.contact { background: var(--blush); }
.contact h2 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); }
.contact .prose p { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.55; text-wrap: pretty; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  padding-block: 31px 38px;
}
.footer .brand { width: min(100%, 170px); }
.footer .quiet-link { justify-self: end; }
.footer .footer-home { font-weight: 500; }
.footer-location { font-size: clamp(1rem, .95rem + .15vw, 1.0625rem); line-height: 1.4; text-align: center; }
.footer-location span { display: block; }
.footer .footer-mark { grid-column: 1 / -1; justify-self: center; width: 36px; height: 36px; margin-top: 2px; }

body:has(dialog[open]) { overflow: hidden; }
dialog {
  width: min(640px, calc(100% - 30px));
  max-width: none;
  max-height: calc(100% - 30px);
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: white;
  color: var(--navy);
  overscroll-behavior: contain;
}
dialog::backdrop { background: #102437a6; }
.dialog-top { display: flex; justify-content: flex-end; padding: 4px clamp(17px, 4vw, 34px); border-bottom: 1px solid var(--rule); }
.dialog-content { padding: clamp(18px, 4vw, 35px); }
.dialog-content h2 { font-size: clamp(26px, 3.7vw, 35px); }
.inquiry-intro { margin-top: 8px; }
.field { margin-top: 17px; }
.field label { display: block; margin-bottom: 5px; font-weight: 650; }
.field input, .field select, .field textarea { display: block; width: 100%; padding: 8px 10px; border: 1px solid var(--field-rule); border-radius: var(--radius); background: white; }
.field input, .field select { min-height: 44px; }
.field label span { font-weight: 400; }
textarea { resize: vertical; }
#project-form .button { margin-top: 17px; }
#project-form .button:disabled { opacity: .7; cursor: wait; }
.inquiry-status:not(:empty) { margin-top: 12px; }

@media (max-width: 825px) {
  .site-header nav { gap: 0 13px; }
  .site-header .brand { width: 165px; }
  .hero { gap: 27px; }
  .hero-image { height: 420px; }
}

@media (max-width: 650px) {
  .site-header { display: grid; min-height: 85px; gap: 3px; padding-block: 12px 4px; }
  .site-header .brand { width: min(190px, 55%); }
  .site-header nav { justify-content: flex-start; column-gap: clamp(10px, 3.5vw, 24px); margin-left: 0; }
  .hero, .split, .lucia-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 25px; }
  h1 { font-size: clamp(33px, 10vw, 51px); }
  .hero-image { height: clamp(300px, 99vw, 445px); }
  .hero-copy .hero-lead { margin-top: 15px; }
  .hero-actions { margin-top: 17px; }
  .service-list, .review-list { grid-template-columns: 1fr; }
  .service-list { row-gap: 32px; }
  .service { grid-row: auto; grid-template-rows: auto auto; row-gap: 16px; }
  .sample-work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
  .work-section .shell > .sample-work > figure:first-child { grid-column: 1 / -1; }
  .work-section .shell > .sample-work > figure:first-child img { max-height: 280px; }
  .lucia-photo { width: min(100%, 145px); }
  .footer { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .footer-location { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 350px) {
  .site-header nav { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 22px; }
}

@media print {
  .site-header nav, .button, .text-button, .quiet-link, dialog { display: none !important; }
  .shell { width: 100%; }
  .section-space, .testimonials { padding-block: 25px; }
  .services-section, .lucia-section, .contact, .review-list figure, #clothing, #home { background: white; }
}
