:root {
  color-scheme: light;
  --ink: #192726;
  --muted: #52605c;
  --dark: #182625;
  --deep: #111c1b;
  --brass: #efc681;
  --bronze: #805122;
  --pale: #f5f2eb;
  --paper: #fcfbf8;
  --line: #dad8d0;
  --edge: clamp(1.25rem, 4.5vw, 5rem);
  font-family: Bahnschrift, Barlow, 'Segoe UI', Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
input, textarea, select, button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.09; }
strong { font-weight: 700; }
[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid #aa681f; outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--edge), 78rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-160%); background: white; color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 5.1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(1rem, 3vw, 3rem); padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; text-decoration: none; font-family: Bahnschrift, Barlow, 'Segoe UI', Arial, sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.brand img { width: clamp(3.75rem, 5.6vw, 4.25rem); height: auto; }
.brand span span { display: block; margin-top: .25rem; color: var(--muted); font-size: .81rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.nav-wrap nav { display: flex; align-items: center; gap: clamp(.85rem, 2.45vw, 2.3rem); }
.nav-wrap nav a { position: relative; padding-block: .42rem; white-space: nowrap; font-size: .94rem; font-weight: 650; text-decoration: none; }
.nav-wrap nav a:hover, .nav-wrap nav a[aria-current] { color: var(--bronze); }
.nav-wrap nav a[aria-current]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .72rem 1.2rem; border: 1px solid transparent; border-radius: .26rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; }
.header-quote { justify-self: end; color: var(--dark); border-color: #b8b7aa; white-space: nowrap; }
.header-quote:hover { background: var(--pale); border-color: var(--dark); }
.menu-toggle { border: 1px solid #9c9b8b; border-radius: .25rem; padding: .42rem .78rem; background: var(--paper); color: var(--ink); font-weight: 700; cursor: pointer; }
.button-brass { background: var(--brass); color: var(--deep); }
.button-brass:hover { background: #fbdba2; }
.button-outline { background: transparent; color: white; border-color: #83908a; }
.button-outline:hover { border-color: var(--brass); color: var(--brass); }
.button-dark { background: var(--dark); color: white; }
.button-dark:hover { background: #344745; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #f7e5c9; }
.button-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.8rem; }

.eyebrow { color: var(--bronze); font-size: .875rem; font-weight: 700; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.hero { background: var(--dark); color: #faf7ed; }
.hero-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.1rem); }
.hero-copy { padding-block: .75rem; }
.hero .eyebrow, .page-head .eyebrow { color: var(--brass); }
.hero h1, .page-head h1 { margin-top: 1rem; font-weight: 750; font-size: clamp(3.1rem, 6.35vw, 6.05rem); letter-spacing: -.077em; }
.hero h1 em { color: var(--brass); font-style: normal; }
.lead { max-width: 40rem; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.23rem); }
.hero .lead, .page-head .lead { color: #d7ddd4; }
.hero-photo { position: relative; min-width: 0; isolation: isolate; background: #746557; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.08 / 1; object-fit: cover; object-position: 50% 44%; }
.hero-photo::after { content: ''; pointer-events: none; position: absolute; inset: .65rem; border: 1px solid #fff3; }
.capability-strip { background: var(--deep); color: #f4e9d4; border-top: 1px solid #3b4541; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid a { display: flex; min-height: 3.6rem; align-items: center; justify-content: center; padding: .65rem .5rem; text-align: center; text-decoration: none; font-size: .95rem; font-weight: 700; }
.strip-grid a + a { border-left: 1px solid #414846; }
.strip-grid a:hover { color: var(--brass); text-decoration: underline; text-underline-offset: .25em; }

.section { padding-block: clamp(3.1rem, 6vw, 5.75rem); }
.pale { background: var(--pale); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(1.5rem, 3.5vw, 3rem); }
.section-head > p { max-width: 31rem; color: var(--muted); }
.section-head .button { flex: 0 0 auto; }
h2 { font-size: clamp(1.75rem, 3.75vw, 3.5rem); font-weight: 730; letter-spacing: -.057em; }
.eyebrow + h2 { margin-top: .55rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--paper); padding: clamp(1.2rem, 2.45vw, 2rem); min-width: 0; }
.service:target, .catalog-entry:target { background: #f5ead6; }
.service h2, .service h3, .product-card h2, .product-card h3, .address h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); letter-spacing: -.035em; font-weight: 720; }
.service h3 a { text-decoration-color: #aa825e; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.service h3 a:hover { color: var(--bronze); }
.service p, .product-card p { color: var(--muted); margin-top: .6rem; }
.text-link { display: inline-block; color: #6f461c; font-size: .94rem; font-weight: 750; text-underline-offset: .22em; margin-top: .8rem; }
.text-link:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.85rem, 2vw, 1.6rem); }
.product-card { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.product-photo { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: white; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; }
.product-card:nth-child(1) .product-photo img, .product-card:nth-child(3) .product-photo img { object-fit: contain; }
a.product-photo:hover img { filter: brightness(.94); }
.product-copy { padding: 1.2rem; }
.catalog { align-items: start; }
.catalog-entry { margin-top: 1.1rem; padding: .85rem 0 0; border-top: 1px solid var(--line); }
.catalog-entry h3 { font-size: 1.1rem; }
.catalog-entry:target { padding: .85rem .6rem; }

.industries { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(1.5rem, 5vw, 5.2rem); }
.industries p:not(.eyebrow), .split p:not(.eyebrow) { margin-top: 1rem; max-width: 38rem; color: var(--muted); }
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; border-top: 1px solid var(--line); }
.industry-list li { padding: .75rem .05rem; border-bottom: 1px solid var(--line); font-weight: 650; }
.enquiry-band { color: #231d15; background: #e7bc81; }
.enquiry-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2rem, 4vw, 3.25rem); }
.enquiry-row .eyebrow { color: #674019; }
.enquiry-row p:not(.eyebrow) { margin-top: .6rem; }

.page-head { background: var(--dark); color: #faf7ed; padding-block: clamp(2.8rem, 6vw, 5rem); }
.page-head h1 { max-width: 59rem; font-size: clamp(2.7rem, 6vw, 5.5rem); }
.split { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.feature-list { display: grid; gap: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.feature-list div { padding: .88rem 0; border-bottom: 1px solid var(--line); }
.feature-list dt { font-weight: 750; }
.feature-list dd { margin: .15rem 0 0; color: var(--muted); }
.feature-photo { background: var(--pale); }
.feature-photo img { width: 100%; height: auto; }
.feature-photo figcaption { padding: .65rem 1rem; color: var(--muted); font-size: .9rem; }
.forging-setup { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.forging-setup p { margin-top: 1rem; max-width: 36rem; color: var(--muted); }
.forging-setup > img { width: min(100%, 29rem); height: auto; justify-self: end; border-radius: .3rem; }
.forging-icon { display: block; width: 6.25rem; height: auto; margin-bottom: 1.1rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.contact-details h2, .enquiry-form h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.contact-details p, .enquiry-form p { margin-top: .65rem; color: var(--muted); }
.contact-links { display: grid; justify-items: start; margin: 1rem 0; gap: .23rem; }
.contact-links a { overflow-wrap: anywhere; font-weight: 700; text-underline-offset: .2em; }
.locations { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.address { margin-top: 1.1rem; }
.address address { margin-top: .4rem; color: var(--muted); font-style: normal; }
.address .text-link { margin-top: .35rem; }
.enquiry-form { background: var(--pale); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2.3rem); }
.fields { margin-block: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fields label { display: grid; align-content: start; gap: .28rem; min-width: 0; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { width: 100%; min-height: 2.8rem; border: 1px solid #a7aaa0; border-radius: .2rem; padding: .53rem .6rem; font-weight: 400; background-color: #fff; color: var(--ink); }
.fields select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 48%, var(--ink) 49% 63%, transparent 64%), linear-gradient(-45deg, transparent 48%, var(--ink) 49% 63%, transparent 64%); background-size: .43rem .45rem; background-position: right .95rem center, right .6rem center; background-repeat: no-repeat; }
.fields textarea { resize: vertical; }
.form-status:empty { display: none; }
.enquiry-form [type='submit']:disabled { cursor: wait; opacity: .7; }

.site-footer { padding-top: clamp(2.15rem, 4vw, 3.5rem); background: var(--deep); color: #f3f1e8; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .7fr 1fr; gap: 1.5rem; }
.footer-grid > div { display: grid; justify-items: start; align-content: start; gap: .35rem; min-width: 0; }
.site-footer .brand { background: var(--paper); color: var(--ink); padding: .22rem .8rem .22rem .22rem; }
.site-footer h2 { color: var(--brass); font-size: 1rem; letter-spacing: 0; margin-bottom: .35rem; }
.site-footer a:not(.brand), .site-footer p { color: #d4ddd6; font-size: .95rem; overflow-wrap: anywhere; }
.site-footer a:not(.brand) { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.site-footer p { margin-top: .45rem; }
.footer-bottom { border-top: 1px solid #414846; margin-top: 1.8rem; padding-block: 1rem; color: #c5ccc4; font-size: .88rem; }

@media (max-width: 58rem) {
  .nav-wrap { grid-template-columns: 1fr auto auto; column-gap: 1.1rem; }
  .nav-wrap nav { gap: .8rem; }
  .header-quote { padding-inline: .78rem; }
  .hero-grid { gap: 1.65rem; }
  .hero h1 { font-size: clamp(2.85rem, 7.1vw, 4.5rem); }
  .section-head > p { max-width: 24rem; }
}

@media (max-width: 45rem) {
  .nav-wrap { grid-template-columns: 1fr auto; min-height: 4.5rem; }
  .menu-toggle:not([hidden]) { display: block; }
  .header-quote { display: none; }
  .nav-wrap nav { grid-column: 1 / -1; flex-wrap: wrap; gap: .5rem 1.05rem; padding-bottom: .25rem; }
  .nav-wrap nav[data-collapsed] { display: none; }
  .hero-grid, .industries, .split, .contact-grid, .forging-setup { grid-template-columns: 1fr; }
  .forging-setup > img { justify-self: start; }
  .hero-grid { gap: 1.25rem; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .hero-photo img { aspect-ratio: 1.42; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid a:nth-child(3) { border-left: 0; }
  .strip-grid a:nth-child(n + 3) { border-top: 1px solid #414846; }
  .service-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .enquiry-row { align-items: start; flex-direction: column; }
  .section-head > p { max-width: none; }
  .feature-photo img { aspect-ratio: 1.3; object-fit: cover; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 29rem) {
  .service-grid, .product-grid, .fields { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
