:root {
  --ora-forest: #143b30;
  --ora-deep: #102c25;
  --ora-paper: #faf8f3;
  --ora-brick: #9f452c;
  --ora-coral: #ffaf88;
  --ora-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

body { background-color: var(--ora-paper); }
.masthead { color: #23382f; background: #fffefa; border-color: #dfdfd5; }
.header-row { min-height: 77px; }
.masthead .brand, .menu-switch { color: var(--ora-forest); }
.masthead .wordmark-ora { color: var(--ora-brick); }
.wordmark { font-weight: 720; }
.main-nav { gap: clamp(.85rem, 2.45vw, 2.35rem); font-weight: 550; }
.main-nav a:hover, .main-nav [aria-current="page"] { color: var(--ora-brick); }
.main-nav .nav-cta { min-height: 42px; padding: .45rem 1.15rem; color: white; background: var(--ora-forest); border: 1px solid var(--ora-forest); border-radius: 2rem; }
.main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current="page"] { color: white; background: #225242; }
.menu-switch { border: 1px solid #aeb8af; border-radius: .45rem; }

.notizie { background: #f0f3eb; border-color: #d3ddce; }
.notizie-inner { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: .45rem 1.2rem; padding-block: .72rem; }
.notizie-inner:has(.notizie-details[open]) .notizie-rail, .notizie-details[open] { grid-column: 1 / -1; }
.notizie-rail { column-gap: clamp(.8rem, 2vw, 2.15rem); }
.notizie h2 { border: 0; display: flex; align-items: center; gap: .7rem; color: var(--ora-forest); padding: 0; font: 700 .76rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.notizie h2::before { content: ''; flex: 0 0 .45rem; width: .45rem; height: .45rem; background: var(--ora-brick); border-radius: 50%; box-shadow: 0 0 0 3px #f0f3eb, 0 0 0 4px #cb987f; margin-inline-start: .22rem; }
.notizie .notizie-story { color: #203b2e; line-height: 1.3; font-weight: 640; }
.notizie-meta { font-size: .79rem; }
.notizie-controls button { border-color: #b7c4b8; color: #294735; border-radius: 2rem; min-height: 2.55rem; }
.notizie-details { margin: 0; }
.notizie-details summary { color: #76402a; }
.notizie-details:not([open]) > summary { white-space: nowrap; }

.catalog-hero { background: var(--ora-paper); border: 0; }
.catalog-cover { position: relative; isolation: isolate; overflow: hidden; color: #fffaf1; background: var(--ora-deep); }
.catalog-cover-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; display: block; width: 75%; height: 100%; object-fit: cover; object-position: 66% 45%; }
.catalog-cover::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, #102c25 8%, #102c25 25%, rgb(16 44 37 / 97%) 34%, rgb(16 44 37 / 76%) 45%, rgb(16 44 37 / 28%) 62%, rgb(16 44 37 / 5%) 85%), linear-gradient(0deg, rgb(9 29 24 / 25%), transparent 35%); }
.catalog-cover-inner { min-height: clamp(30rem, 39.5vw, 41rem); display: flex; align-items: center; padding-block: clamp(3.2rem, 5.3vw, 6rem); }
.catalog-cover-copy { width: min(61%, 48rem); }
.catalog-cover .eyebrow { color: #ffbe9d; font-size: .72rem; letter-spacing: .13em; }
.catalog-cover .eyebrow .rule { width: 2.4rem; height: 1px; }
.catalog-cover h1 { margin: 1.1rem 0 1.05rem; font-size: clamp(2.9rem, 4.65vw, 5rem); line-height: 1; letter-spacing: -.066em; font-weight: 620; text-wrap: initial; hyphens: none; overflow-wrap: normal; }
.catalog-cover h1 em { display: block; color: #f6d5bd; font: italic 400 1.13em/1.06 var(--ora-serif); letter-spacing: -.052em; }
.catalog-deck { max-width: 46ch; margin: 0; color: #f5f4e9; font-size: clamp(1.02rem, 1.35vw, 1.27rem); line-height: 1.55; }
.catalog-actions { gap: 1.5rem clamp(2.5rem, 3.2vw, 3.5rem); margin-top: clamp(1.35rem, 2.1vw, 2.2rem); }
.catalog-actions .btn { flex: 0 0 auto; }
.btn { border-radius: .42rem; }
.primary { color: #202c23; background: var(--ora-coral); }
.primary:hover { color: #14251b; background: #ffc09f; }
.catalog-actions .primary { padding-inline: 1.25rem; gap: 1.35rem; min-height: 50px; border-radius: 3rem; }
.catalog-actions .btn span { font-size: 1.32rem; line-height: 1; }
.catalog-actions .course-link { color: #faf7ed; text-decoration-color: #99ad9f; text-decoration-thickness: 1px; text-underline-offset: .26em; font-size: .94rem; font-weight: 560; }
.catalog-actions .course-link:hover { color: #ffd2b5; text-decoration-color: currentColor; }
.catalog-evidence { background: #ebece2; border-block-end: 1px solid #d5dacd; }
.catalog-evidence-inner { display: grid; grid-template-columns: minmax(8rem, .45fr) repeat(2, minmax(0, 1fr)); gap: 1rem clamp(1.3rem, 3.2vw, 3.5rem); align-items: start; padding-block: clamp(1.5rem, 2.75vw, 3rem); }
.catalog-evidence h2 { margin: 0; border-top: 2px solid #a85535; padding-top: .5rem; width: fit-content; color: #2a4837; font: italic 400 clamp(1.6rem, 2.3vw, 2.4rem)/1.02 var(--ora-serif); letter-spacing: -.035em; }
.catalog-evidence .catalog-intro { max-width: none; margin: 0; color: #34493e; font-size: clamp(.94rem, 1.05vw, 1.03rem); line-height: 1.6; }
.catalog-evidence a { color: #59402e; text-decoration-color: #997251; }

.directory { background: var(--ora-paper); }
.directory-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(14rem, .65fr); align-items: end; gap: 1rem 4rem; padding-bottom: 1.4rem; border-bottom: 1px solid #cdd4c7; }
.directory-head h2, .about-ora h2, .sector-case h2, .format-section h2, .sector-work h2, .takeaway h2, .band-inner h2, .contact h2 { color: var(--ora-forest); font-family: var(--ora-serif); font-weight: 450; letter-spacing: -.05em; }
.directory-head h2 { margin-top: .6rem; font-size: clamp(2.7rem, 5.3vw, 5.3rem); line-height: .99; }
.directory-guide { max-width: 38ch; color: #46564a; line-height: 1.5; font-size: clamp(1rem, 1.25vw, 1.16rem); }
.filters { margin: 1.25rem 0 1.8rem; }
.filter { background: #fffefa; border-color: #bfcbbe; color: #284534; }
.filter[aria-pressed="true"] { background: var(--ora-forest); border-color: var(--ora-forest); }

.sector-grid { gap: clamp(1.1rem, 2.1vw, 2rem); }
.sector-card-link { position: relative; border-color: #d5dbce; border-radius: .65rem; background: #fffefa; }
.sector-card-link > img { aspect-ratio: 1.98; border-bottom: 1px solid #d5dbce; }
.card-copy { flex: 1; padding: 1.25rem clamp(1.05rem, 1.75vw, 1.65rem) 1.55rem; }
.card-copy h3 { position: relative; padding-inline-end: 2.1rem; color: #1d412f; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.13; }
.card-copy h3::after { content: ''; position: absolute; right: 0; top: .22em; width: .55em; height: .55em; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; color: #a6573a; }
.card-copy h3::before { content: ''; position: absolute; right: .02em; top: .25em; width: .77em; height: 1.6px; background: #a6573a; transform-origin: right center; transform: rotate(-45deg); }
.card-copy p { font-size: .98rem; line-height: 1.55; }
.sector-card-link:hover, .sector-card-link:focus-visible { border-color: #a6bbaa; box-shadow: 0 8px 26px rgb(22 57 40 / 8%); }
.sector-hero { background: #e6ecdf; }
.sector-hero h1 { color: var(--ora-forest); }
.sector-photo { border-radius: .55rem; }
.about-ora { background: #edf0e7; }
.course-band, .sector-contact { background: var(--ora-forest); }
.course-band .band-inner h2, .sector-contact .band-inner h2 { color: #fff6e8; }
.course-band + .sector-contact { background: #eee9dc; }
.course-band + .sector-contact .band-inner h2 { color: var(--ora-forest); }
footer { background: #102a22; border-top: 1px solid #2e4c40; }
.footer-row { min-height: 106px; }
footer .wordmark-ora { color: #ffb58e; }
.footer-row .studio-dati a { text-decoration-color: #81958a; }

@media (min-width: 761px) and (max-width: 1040px) {
  .catalog-cover-copy { width: 65%; }
  .catalog-evidence-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-evidence h2 { grid-column: 1 / -1; }
  .main-nav { gap: .85rem; font-size: .84rem; }
}
@media (max-width: 760px) {
  .header-row { min-height: 59px; }
  .main-nav .nav-cta { min-height: 42px; }
  .notizie-inner { display: block; padding-block: .55rem .35rem; }
  .notizie-rail { gap: .36rem .45rem; }
  .notizie-controls { gap: .2rem; }
  .notizie-controls button { min-height: 2.2rem; min-width: 2.2rem; }
  .notizie h2 { font-size: .67rem; }
  .notizie-details summary { min-height: 1.85rem; }
  .catalog-cover-photo { width: 100%; object-position: 70% 43%; }
  .catalog-cover::before { background: linear-gradient(0deg, #102c25 2%, rgb(16 44 37 / 98%) 28%, rgb(16 44 37 / 87%) 48%, rgb(16 44 37 / 35%) 74%, rgb(16 44 37 / 8%) 100%); }
  .catalog-cover-inner { min-height: 0; align-items: end; padding-block: clamp(10rem, 31vw, 14rem) 2.15rem; }
  .catalog-cover-copy { width: 100%; }
  .catalog-cover h1 { margin: .85rem 0 .85rem; font-size: clamp(2.45rem, 7.7vw, 3.7rem); }
  .catalog-cover .eyebrow { font-size: .65rem; }
  .catalog-deck { font-size: 1.04rem; line-height: 1.5; }
  .catalog-actions { gap: 1.5rem 2.5rem; margin-top: 1.15rem; }
  .catalog-actions .course-link { min-height: 36px; }
  .catalog-evidence-inner { grid-template-columns: 1fr; gap: .8rem; padding-block: 1.55rem; }
  .catalog-evidence h2 { margin-block-end: .1rem; }
  .directory-head { grid-template-columns: 1fr; gap: .85rem; }
  .directory-guide { max-width: 45ch; }
  .card-copy { padding: 1.15rem; }
  .sector-card-link > img { aspect-ratio: 2.16; }
  .footer-row { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (min-width: 761px) and (max-width: 1040px) {
  .notizie-inner { display: block; position: relative; }
  .notizie-rail { grid-template-columns: max-content minmax(0, 1fr) max-content; }
  .notizie-controls { align-self: start; padding-bottom: 1.85rem; }
  .notizie-details:not([open]) > summary { position: absolute; right: 0; top: 3.25rem; }
}

.site-info { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:.3rem 1.15rem; margin:.25rem 0 0; }
.site-info a { display:inline-flex; align-items:center; min-height:2.4rem; color:#e7eee8; text-underline-offset:.2em; font-size:.91rem; }
.site-info a:hover, .site-info a:focus-visible { color:#ffd2b8; }
@media (max-width:760px) { .site-info { justify-content:flex-start; } }

/* Dossier della settimana in home. */
.briefs-promo { background: var(--ora-deep); color: var(--ora-paper); }
.briefs-promo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 4rem);
}
.briefs-promo .eyebrow { color: var(--ora-coral); }
.briefs-promo h2 {
  max-width: 24ch;
  margin: .55rem 0 .7rem;
  font: 400 clamp(2rem, 3.8vw, 3.65rem)/1.03 var(--ora-serif);
  letter-spacing: -.035em;
}
.briefs-promo .briefs-excerpt { max-width: 60ch; color: #e3ebe2; }
.briefs-promo .btn { border-radius: 3rem; }

@media (min-width: 761px) and (max-width: 1190px) {
  .masthead .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: clamp(.6rem, 1.3vw, 1rem);
    row-gap: 0;
  }
  .masthead .main-nav a { white-space: nowrap; }
}
@media (max-width: 760px) {
  .briefs-promo-inner { grid-template-columns: 1fr; justify-items: start; gap: 1rem; }
}
