*,
::before,
::after {
  /* Prevent padding and border from affecting element width. */
  box-sizing: border-box;

  /* Allow adding a border to an element by just adding a border-width */
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html,
:host {
  /* Use a consistent sensible line-height in all browsers. */
  line-height: 1.5;

  /* Prevent adjustments of font size after orientation changes in iOS. */
  -webkit-text-size-adjust: 100%;

  /* Use a more readable tab size. */
  -moz-tab-size: 4;
  tab-size: 4;

  /* Improve consistency of default fonts in all browsers. */
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";

  /* Disable tap highlights on iOS */
  -webkit-tap-highlight-color: transparent;
}

body {
  /* Remove the margin in all browsers. */
  margin: 0;
}

hr {
  /* Add the correct height in Firefox. */
  height: 0;

  /* Correct the inheritance of border color in Firefox. */
  color: inherit;

  /* Ensure horizontal rules are visible by default. */
  border-top-width: 1px;
}

abbr:where([title]) {
  /* Add the correct text decoration in Chrome, Edge, and Safari. */
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* Remove the default font size and weight for headings. */
  font-size: inherit;
  font-weight: inherit;
}

a {
  /* Reset links to optimize for opt-in styling instead of opt-out. */
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  /* Add the correct font weight in Edge and Safari. */
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  /* Improve consistency of default fonts in all browsers. */
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;

  /* Correct the odd `em` font sizing in all browsers. */
  font-size: 1em;
}

small {
  /* Add the correct font size in all browsers. */
  font-size: 80%;
}

/*
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  /* Remove text indentation from table contents in Chrome and Safari. */
  text-indent: 0;

  /* Correct table border color inheritance in all Chrome and Safari. */
  border-color: inherit;

  /* Remove gaps between table borders by default. */
  border-collapse: collapse;
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  /* Change the font styles in all browsers. */
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;

  /* Remove the margin in Firefox and Safari. */
  margin: 0;

  /* Remove default padding in all browsers. */
  padding: 0;
}

button,
select {
  /* Remove the inheritance of text transform in Edge and Firefox. */
  text-transform: none;
}

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  /* Correct the inability to style clickable types in iOS and Safari. */
  -webkit-appearance: button;

  /* Remove default button styles. */
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  /* Use the modern Firefox focus style for all focusable elements. */
  outline: auto;
}

:-moz-ui-invalid {
  /* Remove the additional `:invalid` styles in Firefox. */
  box-shadow: none;
}

progress {
  /* Add the correct vertical alignment in Chrome and Firefox. */
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  /* Correct the cursor style of increment and decrement buttons in Safari. */
  height: auto;
}

[type="search"] {
  /* Correct the odd appearance in Chrome and Safari. */
  -webkit-appearance: textfield;

  /* Correct the outline style in Safari. */
  outline-offset: -2px;
}

::-webkit-search-decoration {
  /* Remove the inner padding in Chrome and Safari on macOS.*/
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  /* Correct the inability to style clickable types in iOS and Safari. */
  -webkit-appearance: button;

  /* Change font properties to `inherit` in Safari. */
  font: inherit;
}

summary {
  /* Add the correct display in Chrome and Safari. */
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  /* Reset default styling for dialogs. */
  padding: 0;
}

textarea {
  /* Prevent resizing textareas horizontally by default. */
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  /* Reset the default placeholder opacity in Firefox.  */
  opacity: 1;

  /* Set the default placeholder color */
  color: #9ca3af;
}

button,
[role="button"] {
  /* Set the default cursor for buttons. */
  cursor: pointer;
}

:disabled {
  /* Make sure disabled buttons don't get the pointer cursor. */
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  /* Make replaced elements `display: block` by default.  */
  display: block;
}

img,
video {
  /* Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. */
  max-width: 100%;
  height: auto;
}

[hidden] {
  /* Make elements with the HTML hidden attribute stay hidden by default */
  display: none;
}

/* Base */
:root {
  font-size: 16px;
  --paper: #f5f3ed;
  --ink: #242b26;
  --olive: #4d5d4a;
  --line: #d9dcd2;
  --muted: #626b62;
}
body {
  background: var(--paper);
  color: var(--ink);
  font:
    1.2rem Arial,
    Helvetica,
    sans-serif;
}
small,
sub,
sup,
input,
button,
select,
textarea {
  font-size: 1.2rem;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3rem, 5.6vw, 6.4rem);
}
h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}
h3 {
  font-size: 1.6rem;
  line-height: 1.25;
}
p {
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
a,
button {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a77731;
  outline-offset: 4px;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
label {
  display: grid;
  gap: 10px;
  line-height: 1.4;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
}
textarea {
  resize: vertical;
}
[hidden] {
  display: none !important;
}
.eyebrow {
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 22px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 18px 25px;
  min-height: 64px;
  background: var(--olive);
  color: white;
  text-align: left;
}
.button:hover {
  filter: brightness(0.86);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.text-link {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 20;
  padding: 20px;
  background: white;
}
.skip:focus {
  top: 0;
}
.notice {
  color: var(--muted);
}
.field-error,
.error {
  color: #9c2a25;
}
.field-error:empty {
  display: none;
}
.success {
  color: #315632;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Shell */
header {
  display: flex;
  gap: 35px;
  align-items: center;
  padding: 26px 5%;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font:
    3rem Georgia,
    serif;
  letter-spacing: -0.06em;
}
header nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  flex-wrap: wrap;
}
header nav a[aria-current] {
  border-bottom: 1px solid;
}
#menu-toggle {
  display: none;
  background: transparent;
}
.header-cta {
  border-bottom: 1px solid;
  padding-bottom: 8px;
}
footer {
  padding: 65px 5% 25px;
  background: #e5e8dd;
  margin-top: 70px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 55px;
}
.footer-top nav,
.footer-top > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-bottom {
  border-top: 1px solid #bec5b7;
  margin-top: 50px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.section {
  padding: 70px 5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}
.page-intro {
  padding: 65px 5% 40px;
  max-width: 1100px;
}
.page-intro p:last-child {
  max-width: 800px;
  margin-top: 25px;
}
/* Editorial landing */
.hero {
  position: relative;
  min-height: 730px;
  color: white;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 29, 22, 0.86),
    rgba(17, 29, 22, 0.35)
  );
  z-index: -1;
}
.hero-copy {
  padding: 65px 6%;
  max-width: 850px;
}
.hero-copy p:not(.eyebrow) {
  margin: 30px 0;
  max-width: 660px;
}
.hero-caption {
  position: absolute;
  bottom: 35px;
  right: 5%;
  max-width: 250px;
  line-height: 1.5;
}
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
  padding: 50px 5%;
}
.approach img {
  height: 620px;
}
.approach p {
  margin: 25px 0;
}
.approach h2:not(:first-of-type) {
  margin-top: 35px;
}
.cta {
  padding: 60px 5%;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}
.cta h2 {
  max-width: 760px;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}
.before-after img {
  height: 400px;
}
.before-after figcaption {
  padding: 20px 0;
}
/* Collection */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.card {
  background: white;
  box-shadow: 0 7px 25px #242b2610;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card-image {
  overflow: hidden;
}
.card img {
  aspect-ratio: 4/3;
  transition: transform 0.4s;
}
.card:hover img {
  transform: scale(1.025);
}
.card-content {
  padding: 26px;
  display: grid;
  gap: 18px;
  flex: 1;
}
.card h3 {
  font:
    2rem Georgia,
    serif;
}
.card .actions {
  margin-top: auto;
}
.card .button {
  width: 100%;
}
.tag {
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}
.empty {
  grid-column: 1/-1;
  padding: 40px;
  border: 1px solid var(--line);
}
#result-count {
  margin-bottom: 30px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 55px;
}
.gallery-main {
  padding: 0;
  width: 100%;
  background: transparent;
}
.gallery-main img {
  aspect-ratio: 4/3;
}
.gallery-controls {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow: auto;
  margin-top: 20px;
  padding: 5px;
}
.gallery-thumbs button {
  flex: 0 0 105px;
  background: none;
  padding: 0;
}
.gallery-thumbs img {
  height: 80px;
}
.gallery-thumbs button[aria-pressed="true"] {
  outline: 3px solid var(--olive);
}
.detail-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
}
.detail-copy p {
  margin: 25px 0;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
}
dt,
dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10%;
  padding: 35px 5% 70px;
}
.form-layout aside p {
  margin: 25px 0;
}
form {
  display: grid;
  gap: 24px;
  align-content: start;
}
#date-fields {
  display: grid;
  gap: 24px;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 35px;
  width: min(900px, 94vw);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #14221ed1;
}
#image-viewer {
  width: min(1200px, 94vw);
}
#image-viewer img {
  height: 70vh;
  object-fit: contain;
  margin-top: 20px;
}
.editor-photo {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  margin: 20px 0;
  padding: 20px;
  background: white;
}
.editor-photo img {
  height: 120px;
}
.editor-photo .actions {
  grid-column: 1/-1;
}
.request-card,
.cart-row {
  padding: 28px;
  background: white;
  box-shadow: 0 7px 25px #242b2610;
  margin: 25px 0;
  overflow-wrap: anywhere;
}
.request-card p {
  margin: 12px 0;
}
.cart-row {
  display: grid;
  grid-template-columns: 130px 1fr 150px auto;
  align-items: center;
  gap: 25px;
}
.cart-row img {
  height: 130px;
}
/* Responsive and motion */
@media (max-width: 1100px) {
  header {
    gap: 25px;
    flex-wrap: wrap;
  }
  .header-cta {
    display: none;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: 670px;
  }
  .hero-caption {
    display: none;
  }
  .detail-layout {
    gap: 35px;
  }
  .footer-top {
    gap: 30px;
  }
  .cart-row {
    grid-template-columns: 100px 1fr;
  }
  .cart-row img {
    height: 100px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 20px 5%;
    justify-content: space-between;
  }
  .wordmark {
    font-size: 2.7rem;
  }
  #menu-toggle {
    display: block;
  }
  header nav {
    display: none;
    width: 100%;
    margin: 0;
    flex-direction: column;
    gap: 22px;
    padding: 20px 0;
  }
  header nav.open {
    display: flex;
  }
  .hero {
    min-height: 650px;
  }
  .hero-copy {
    padding: 50px 6%;
  }
  .hero-copy h1 {
    font-size: 3.3rem;
  }
  .hero:after {
    background: rgba(17, 29, 22, 0.65);
  }
  .section {
    padding: 45px 5%;
  }
  .section-heading,
  .cta,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
  .card-grid,
  .approach,
  .before-after,
  .detail-layout,
  .form-layout,
  .footer-top,
  .filters {
    grid-template-columns: 1fr;
  }
  .approach {
    gap: 35px;
  }
  .approach img {
    height: 380px;
  }
  .form-layout {
    gap: 35px;
  }
  .page-intro {
    padding-top: 45px;
  }
  .before-after img {
    height: 300px;
  }
  .footer-top {
    gap: 45px;
  }
  .cta {
    gap: 30px;
  }
  .editor-photo {
    grid-template-columns: 1fr;
  }
  .editor-photo img {
    width: 140px;
  }
  .cart-row {
    grid-template-columns: 1fr;
  }
  .cart-row img {
    width: 140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Long natural-language and numeric content remains readable on narrow screens. */
h1,
h2,
h3,
p,
a,
dd {
  overflow-wrap: anywhere;
}

/* Visible form boundaries retain contrast against both white and paper. */
input,
select,
textarea {
  border-color: #899184;
}

