/* Tide & Timber material direction.
   A distinct, roman editorial system for the fictional craft studio concept.
   The page uses local system fonts only: Palatino for the voice, a narrow
   Franklin Gothic stack for the workshop labels and headings. */
:root {
  --navy: #2f211a;
  --navy-soft: #4c3024;
  --ink: #2d211a;
  --muted: #75665a;
  --line: #cdbdaa;
  --paper: #f2ebdf;
  --white: #fffaf1;
  --blue: #91603b;
  --blue-soft: #e9d7bd;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Franklin Gothic Book", "Franklin Gothic Medium", "Arial Narrow", "Aptos Narrow", Arial, sans-serif;
  --display: "Franklin Gothic Medium", "Arial Narrow", "Aptos Narrow", Arial, sans-serif;
  --brass: #b88954;
  --leather: #70422d;
  --wood: #3f2a20;
  --linen: #e7dac8;
  --shell: min(1240px, calc(100% - 5rem));
  --shadow: 0 24px 70px rgba(56, 33, 21, 0.16);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 22%, rgba(135, 94, 57, 0.08) 0 0.7px, transparent 0.9px) 0 0 / 6px 6px,
    linear-gradient(110deg, rgba(255, 255, 255, 0.28), transparent 34%),
    var(--paper);
  font-family: var(--serif);
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--white);
  background: var(--leather);
}

/* The base concept stylesheet uses Georgia and italic emphasis. The material
   concept keeps all display type roman so its voice stays separate from the
   Meridian home page. */
h1,
h2,
h3,
.wordmark__name,
.site-nav,
.eyebrow,
.section-heading__label,
.statement__label,
.concept-bar,
.button,
.text-link,
.form-field label,
.field-hint,
.site-footer,
.hero__edge,
.hero__media figcaption,
.story__media figcaption {
  font-family: var(--display);
}

h1,
h2,
h3 {
  font-weight: 500 !important;
  letter-spacing: 0.055em;
  line-height: 1.05 !important;
  text-transform: uppercase;
}

h1 em,
h2 em,
h3 em,
em {
  color: var(--brass);
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
}

.concept-bar {
  color: #e8d9c3;
  background: var(--wood);
  border-bottom: 1px solid rgba(240, 210, 166, 0.16);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concept-bar__dot {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--brass);
  border-radius: 0;
  transform: rotate(45deg);
}

.concept-bar strong {
  color: var(--white);
  font-weight: 500;
}

.concept-bar a {
  color: #f0dfc8;
}

.concept-bar a:hover,
.concept-bar a:focus-visible {
  color: var(--blue-soft);
}

.site-header {
  color: var(--ink);
  background: rgba(242, 235, 223, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: 7rem;
}

.wordmark {
  gap: 0.9rem;
  color: var(--ink);
}

.wordmark__mark {
  width: 2.65rem;
  height: 2.65rem;
  color: var(--leather);
  border: 1px solid var(--brass);
  border-radius: 0;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(184, 137, 84, 0.62);
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transform: rotate(45deg);
}

.wordmark__mark > * {
  transform: rotate(-45deg);
}

.wordmark__mark span {
  color: var(--brass);
  font-family: var(--display);
}

.wordmark__name {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wordmark__name i {
  color: var(--brass);
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}

.site-nav {
  gap: clamp(1rem, 3vw, 2.3rem);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--leather);
}

.site-nav .site-nav__cta {
  padding: 0.82rem 1.12rem;
  color: var(--white) !important;
  background: var(--leather);
  border: 1px solid var(--leather);
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(246, 218, 178, 0.28);
}

.site-nav .site-nav__cta:hover,
.site-nav .site-nav__cta:focus-visible {
  color: var(--white) !important;
  background: var(--wood);
}

.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
  gap: clamp(2.8rem, 6vw, 5.5rem);
  min-height: 780px;
  padding-top: 5.2rem;
  padding-bottom: 6.3rem;
  color: var(--ink);
  background: transparent;
}

.hero__copy {
  padding-left: clamp(1rem, 2.5vw, 2rem);
}

.hero__copy::before {
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0;
  width: 1px;
  background: linear-gradient(var(--brass), transparent 92%);
  content: "";
}

.eyebrow,
.section-heading__label,
.statement__label {
  color: var(--leather);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rule {
  width: 2.8rem;
  height: 1px;
  background: var(--brass);
}

.hero h1 {
  max-width: 9.2ch;
  margin: 1.65rem 0 1.9rem;
  color: var(--ink);
  font-size: clamp(3.8rem, 7.1vw, 7.05rem);
  letter-spacing: 0.045em;
  line-height: 0.94 !important;
}

.hero h1 em {
  color: var(--leather);
  font-size: 0.91em;
}

.hero__lede {
  max-width: 31rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero__actions {
  gap: 1.4rem 1.8rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 3.15rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button--primary,
.button--light {
  color: var(--white);
  background: var(--leather);
  border: 1px solid var(--leather);
  outline: 1px dashed rgba(184, 137, 84, 0.7);
  outline-offset: -6px;
}

.button--primary:hover,
.button--primary:focus-visible,
.button--light:hover,
.button--light:focus-visible {
  color: var(--white);
  background: var(--wood);
  transform: translateY(-2px);
}

.text-link {
  color: var(--leather);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--brass);
}

.hero__copy .text-link {
  color: var(--leather);
}

.hero__note {
  max-width: 39rem;
  margin-top: 2.4rem;
  color: #887665;
  font-size: 0.7rem;
  line-height: 1.55;
}

.hero__note span {
  color: var(--brass);
}

.hero__media {
  min-height: 570px;
  margin: 0;
  overflow: hidden;
  background: var(--wood);
  border: 1px solid rgba(184, 137, 84, 0.8);
  border-radius: 190px 190px 4px 4px;
  box-shadow: 14px 15px 0 var(--linen), 0 26px 58px rgba(63, 42, 32, 0.18);
}

.hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 12px;
  border: 1px solid rgba(255, 235, 204, 0.52);
  border-radius: 176px 176px 1px 1px;
  content: "";
  pointer-events: none;
}

.hero__media::after {
  background: linear-gradient(180deg, rgba(43, 26, 17, 0.02) 42%, rgba(43, 26, 17, 0.82));
}

.hero__media img {
  min-height: 570px;
  object-position: 56% center;
  filter: sepia(0.25) saturate(0.7) contrast(1.05);
}

.hero__media figcaption {
  right: 1.6rem;
  bottom: 1.4rem;
  left: 1.6rem;
  color: #f5e3c7;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__media figcaption span {
  color: var(--blue-soft);
}

.hero__edge {
  right: -1.6rem;
  bottom: 4.2rem;
  color: #987e66;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.hero__edge-line {
  background: var(--brass);
}

.statement {
  padding: 7rem 0 8.6rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.28);
}

.statement__body h2,
.section-heading h2,
.story__copy h2,
.process h2 {
  font-size: clamp(2.7rem, 5vw, 5.1rem);
}

.statement__body h2 em,
.section-heading h2 em,
.process h2 em {
  color: var(--leather);
}

.statement__body p,
.section-heading p,
.service-item p,
.process-list p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.statement__aside {
  max-width: 13rem;
  color: #8d7863;
  border-left: 1px solid var(--brass);
  font-family: var(--display);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.14em;
  line-height: 1.65;
  text-transform: uppercase;
}

.services {
  padding: 1.5rem 0 8.8rem;
  background: linear-gradient(90deg, transparent, rgba(213, 191, 160, 0.15) 50%, transparent);
}

.section-heading__label {
  color: var(--leather);
}

.service-list {
  border-top-color: var(--line);
}

.service-item {
  min-height: 10.6rem;
  padding: 2rem 0;
  border-bottom-color: var(--line);
  transition: padding 240ms ease, background-color 240ms ease;
}

.service-item:hover {
  padding-right: 0.7rem;
  padding-left: 1rem;
  background: rgba(255, 250, 241, 0.58);
}

.service-item__number {
  color: var(--brass);
  font-family: var(--display);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.12em;
}

.service-item h3 {
  color: var(--ink);
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  letter-spacing: 0.08em;
}

.service-item__arrow {
  color: var(--leather);
}

.story,
.contact {
  position: relative;
  color: #f0e0c9;
  background:
    radial-gradient(ellipse at 14% 0, rgba(180, 128, 78, 0.27), transparent 62%),
    repeating-linear-gradient(105deg, rgba(255, 235, 204, 0.025) 0 1px, transparent 1px 7px),
    var(--wood);
}

.story {
  padding: 6.5rem 0 7.4rem;
  border-block: 1px solid rgba(197, 155, 103, 0.56);
}

.story::before,
.contact::before {
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(218, 177, 122, 0.36);
  content: "";
  pointer-events: none;
}

.story__grid {
  gap: clamp(3.2rem, 7vw, 6rem);
}

.story__media {
  min-height: 0;
  border: 8px solid #261910;
  box-shadow: 14px 18px 0 rgba(184, 137, 84, 0.38), 0 20px 44px rgba(20, 11, 7, 0.38);
  transform: rotate(-1.8deg);
}

.story__media::after {
  background: linear-gradient(180deg, rgba(43, 26, 17, 0.03), rgba(43, 26, 17, 0.7));
}

.story__media img {
  min-height: 0;
  height: 310px;
  filter: sepia(0.24) saturate(0.68) contrast(1.06);
}

.story__media figcaption {
  color: #ead4b2;
  background: rgba(38, 25, 16, 0.78);
  padding: 0.95rem 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.story .section-heading__label,
.contact .section-heading__label {
  color: var(--blue-soft);
}

.story__copy h2 {
  color: #f6e9d6;
}

.story__copy h2 em {
  color: #d3aa78;
}

.story__copy p {
  color: #d1bda4;
  font-size: 0.98rem;
  line-height: 1.85;
}

.story .text-link {
  color: #f1dec1;
  border-bottom-color: rgba(204, 157, 101, 0.72);
}

.process {
  padding: 7.5rem 0 8.2rem;
}

.process-list {
  border-top-color: var(--line);
}

.process-list li {
  padding: 1.8rem 0;
  border-bottom-color: var(--line);
}

.process-list__mark {
  width: 2.7rem;
  height: 2.7rem;
  color: var(--leather);
  background: var(--linen);
  border: 1px solid var(--brass);
  border-radius: 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.process-list h3 {
  color: var(--ink);
  font-size: 1.56rem;
  letter-spacing: 0.08em;
}

.contact {
  padding: 7rem 0 7.6rem;
}

.contact__grid {
  gap: clamp(3.2rem, 7vw, 6rem);
}

.contact h2 {
  color: #f6e9d6;
  font-size: clamp(3.3rem, 6vw, 6rem);
}

.contact__intro p {
  color: #d1bda4;
}

.contact__micro {
  color: #c39e77 !important;
  font-family: var(--display);
  font-size: 0.65rem !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.enquiry-panel {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3rem);
  color: var(--ink);
  background: #eee4d4;
  border: 1px solid #c19c70;
  border-top: 8px solid var(--leather);
  border-radius: 0;
  box-shadow: 0 24px 66px rgba(15, 8, 4, 0.28);
}

.enquiry-panel::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(158, 117, 72, 0.32);
  content: "";
  pointer-events: none;
}

.enquiry-panel > * {
  position: relative;
}

.form-field label {
  color: #584433;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--leather);
}

.form-field input,
.form-field select,
.form-field textarea {
  color: var(--ink);
  background: #faf5ec;
  border: 1px solid #c9b79e;
  border-radius: 0;
  font-family: var(--serif);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8b7968;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--brass);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--leather);
  box-shadow: 0 0 0 3px rgba(112, 66, 45, 0.16);
}

.field-hint {
  color: #7c6855;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.form-error {
  color: #8c2e22;
  background: #f4d8cc;
  border-color: #cb9580;
}

.summary,
.summary h3,
.summary pre,
.summary__close,
.summary__status,
.summary .eyebrow {
  color: var(--ink);
}

.summary h3 {
  font-size: 1.52rem;
  letter-spacing: 0.08em;
}

.summary pre {
  background: #faf5ec;
  border-color: #c9b79e;
  font-family: var(--serif);
}

.summary__close,
.button--outline-light {
  color: var(--leather);
  border-color: #9f7b59;
  background: transparent;
}

.summary__close:hover,
.summary__close:focus-visible,
.button--outline-light:hover,
.button--outline-light:focus-visible {
  color: var(--white);
  background: var(--leather);
  border-color: var(--leather);
}

.summary__status {
  font-size: 0.78rem;
}

.site-footer {
  padding: 3.3rem 0;
  color: #d3c1a9;
  background: var(--wood);
  border-top: 1px solid rgba(195, 151, 98, 0.6);
}

.site-footer__meta,
.site-footer__credit {
  color: #b9a58e;
}

.site-footer__meta p,
.site-footer a {
  font-family: var(--display);
  letter-spacing: 0.06em;
}

.site-footer .wordmark__mark {
  color: #d5b888;
  border-color: #b88954;
  box-shadow: none;
}

.site-footer .wordmark__name {
  color: #f1e1c8;
}

.site-footer a {
  color: #ead5b5;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

@media (max-width: 1000px) {
  :root {
    --shell: min(1240px, calc(100% - 3rem));
  }

  .hero {
    gap: 2.8rem;
    min-height: 690px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
  }

  .hero__media,
  .hero__media img {
    min-height: 500px;
  }

  .story__grid,
  .services,
  .process,
  .contact__grid {
    gap: 3.5rem;
  }

  .statement {
    grid-template-columns: 0.5fr 1.5fr;
  }

  .statement__aside {
    grid-column: 2;
  }

  .site-nav {
    gap: 1.2rem;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 2.5rem);
  }

  .concept-bar__inner {
    gap: 0.5rem;
    align-items: flex-start;
  }

  .concept-bar__detail {
    display: none;
  }

  .site-header__inner {
    min-height: 0;
    padding: 1.4rem 0 1.6rem;
    gap: 1.3rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.7rem;
    font-size: 0.64rem;
  }

  .site-nav .site-nav__cta {
    padding: 0.62rem 0.75rem;
    font-size: 0.61rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    min-height: 0;
    padding: 3.6rem 0 5.2rem;
  }

  .hero__copy {
    padding-left: 0.9rem;
  }

  .hero h1 {
    max-width: 8.9ch;
    font-size: clamp(3.4rem, 13vw, 5rem);
  }

  .hero__media {
    min-height: 420px;
    border-radius: 140px 140px 4px 4px;
    box-shadow: 8px 10px 0 var(--linen), 0 22px 48px rgba(63, 42, 32, 0.17);
  }

  .hero__media::before {
    border-radius: 126px 126px 1px 1px;
  }

  .hero__media img {
    min-height: 420px;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 4.8rem 0 5.6rem;
  }

  .statement__body {
    margin-top: 0.6rem;
  }

  .statement__aside {
    grid-column: auto;
    max-width: 17rem;
  }

  .statement__body h2,
  .section-heading h2,
  .story__copy h2,
  .process h2 {
    font-size: 2.9rem;
  }

  .services,
  .process,
  .contact__grid,
  .story__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .services {
    padding: 1rem 0 5.2rem;
  }

  .service-list {
    margin-top: 0.8rem;
  }

  .service-item {
    min-height: 0;
    padding: 1.5rem 0;
  }

  .service-item:hover {
    padding-left: 0.5rem;
  }

  .story {
    padding: 4.6rem 0 5.6rem;
  }

  .story__media {
    order: 2;
    margin: 0.6rem 0.4rem 0;
  }

  .story__media img {
    height: 220px;
  }

  .story__copy {
    order: 1;
  }

  .process {
    padding: 5.3rem 0 5.8rem;
  }

  .contact {
    padding: 5rem 0 5.5rem;
  }

  .enquiry-panel {
    padding: 1.35rem;
  }

  .site-footer {
    padding: 2.8rem 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .hero__media:hover img {
    transform: none;
  }
}
